From bf8bed4015d08f45615638e65b3130e4d3ade4a1 Mon Sep 17 00:00:00 2001 From: Ed Minnix Date: Thu, 9 Jan 2025 21:44:39 -0500 Subject: [PATCH] beego tests --- .../go/dataflow/flowsources/local/database/test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.go b/go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.go index 373e032e9265..d7f9fb20f508 100644 --- a/go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.go +++ b/go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.go @@ -4,7 +4,6 @@ import ( "context" "fmt" - beegoOrm "github.com/beego/beego/orm" gocb "github.com/couchbase/gocb/v2" "github.com/gogf/gf/database/gdb" "github.com/rqlite/gorqlite" @@ -33,18 +32,6 @@ func gogf(g gdb.DB) { fmt.Println(u1) } -func beego() { - orm := beegoOrm.NewOrm() - - type User struct { - Id int - Name string - } - - var user User - orm.Read(&user) // $source -} - func couchbase(coll *gocb.Collection) { type User struct { Name string