Skip to content

Commit

Permalink
beego tests
Browse files Browse the repository at this point in the history
  • Loading branch information
egregius313 committed Jan 10, 2025
1 parent f1c900e commit bf8bed4
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf8bed4

Please sign in to comment.