Autoformat Go

This commit is contained in:
Chris Smowton
2023-03-27 11:53:42 +01:00
parent 6b9b4c8da0
commit 54d08e11ca
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ func taintedFunction() func() (*tls.Certificate, error) {
return nil
}
func sink(_ *tls.Certificate) { }
func sink(_ *tls.Certificate) {}
func testCertStorageFetch() {
cert, _ := (*taintedCertStorage()).Fetch("myhostname.org", nil)

View File

@@ -29,7 +29,7 @@ func newpgtest(query string, conn newpg.Conn, db newpg.DB, tx newpg.Tx) {
tx.Prepare(query) // $ querystring=query
}
func sink(x interface{}) { }
func sink(x interface{}) {}
func pgormtest(query string, q orm.Query) {
orm.Q(query) // $ querystring=query
@@ -53,4 +53,4 @@ func pgormtest(query string, q orm.Query) {
sink(sink2) // $ flowfrom=Appended1
sink(sink3) // $ flowfrom=Appended2
sink(sink4) // $ flowfrom=Query
}
}