Skip to content

Commit bf8bed4

Browse files
committed
beego tests
1 parent f1c900e commit bf8bed4

File tree

1 file changed

+0
-13
lines changed
  • go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database

1 file changed

+0
-13
lines changed

go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55
"fmt"
66

7-
beegoOrm "github.com/beego/beego/orm"
87
gocb "github.com/couchbase/gocb/v2"
98
"github.com/gogf/gf/database/gdb"
109
"github.com/rqlite/gorqlite"
@@ -33,18 +32,6 @@ func gogf(g gdb.DB) {
3332
fmt.Println(u1)
3433
}
3534

36-
func beego() {
37-
orm := beegoOrm.NewOrm()
38-
39-
type User struct {
40-
Id int
41-
Name string
42-
}
43-
44-
var user User
45-
orm.Read(&user) // $source
46-
}
47-
4835
func couchbase(coll *gocb.Collection) {
4936
type User struct {
5037
Name string

0 commit comments

Comments
 (0)