Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54d08e1

Browse files
committed
Autoformat Go
1 parent 6b9b4c8 commit 54d08e1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • go/ql/test/library-tests/semmle/go/frameworks

go/ql/test/library-tests/semmle/go/frameworks/ElazarlGoproxy/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func taintedFunction() func() (*tls.Certificate, error) {
3232
return nil
3333
}
3434

35-
func sink(_ *tls.Certificate) { }
35+
func sink(_ *tls.Certificate) {}
3636

3737
func testCertStorageFetch() {
3838
cert, _ := (*taintedCertStorage()).Fetch("myhostname.org", nil)

go/ql/test/library-tests/semmle/go/frameworks/SQL/pg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func newpgtest(query string, conn newpg.Conn, db newpg.DB, tx newpg.Tx) {
2929
tx.Prepare(query) // $ querystring=query
3030
}
3131

32-
func sink(x interface{}) { }
32+
func sink(x interface{}) {}
3333

3434
func pgormtest(query string, q orm.Query) {
3535
orm.Q(query) // $ querystring=query
@@ -53,4 +53,4 @@ func pgormtest(query string, q orm.Query) {
5353
sink(sink2) // $ flowfrom=Appended1
5454
sink(sink3) // $ flowfrom=Appended2
5555
sink(sink4) // $ flowfrom=Query
56-
}
56+
}

0 commit comments

Comments
 (0)