Skip to content

Commit 1de15ec

Browse files
committed
Fix signatures in comments
1 parent 59ad30d commit 1de15ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/ql/lib/semmle/go/frameworks/Squirrel.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Squirrel {
2222
FunctionOutput outp;
2323

2424
RowScan() {
25-
// signature: func (rs *RowScanner) Scan(dest ...interface{}) error
25+
// signature: func (r *Row) Scan(dest ...interface{}) error
2626
this.hasQualifiedName(packagePath(), "Row", "Scan") and
2727
inp.isReceiver() and
2828
outp.isParameter(_)
@@ -54,7 +54,7 @@ module Squirrel {
5454
FunctionOutput outp;
5555

5656
BuilderScan() {
57-
// signature: func (rs *InsertBuilder) Scan(dest ...interface{}) error
57+
// signature: func (b InsertBuilder) Scan(dest ...interface{}) error
5858
this.hasQualifiedName(packagePath(),
5959
["DeleteBuilder", "InsertBuilder", "SelectBuilder", "UpdateBuilder"], "Scan") and
6060
inp.isReceiver() and
@@ -71,7 +71,7 @@ module Squirrel {
7171
FunctionOutput outp;
7272

7373
BuilderScanContext() {
74-
// signature: func (rs *InsertBuilder) ScanContext(ctx context.Context, dest ...interface{}) error
74+
// signature: func (b InsertBuilder) ScanContext(ctx context.Context, dest ...interface{}) error
7575
this.hasQualifiedName(packagePath(),
7676
["DeleteBuilder", "InsertBuilder", "SelectBuilder", "UpdateBuilder"], "ScanContext") and
7777
inp.isReceiver() and

0 commit comments

Comments
 (0)