github.com/goplus/igop@v0.25.0/pkg/database/sql/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 5 6 package sql 7 8 import ( 9 q "database/sql" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "sql", 20 Path: "database/sql", 21 Deps: map[string]string{ 22 "bytes": "bytes", 23 "context": "context", 24 "database/sql/driver": "driver", 25 "errors": "errors", 26 "fmt": "fmt", 27 "io": "io", 28 "reflect": "reflect", 29 "runtime": "runtime", 30 "sort": "sort", 31 "strconv": "strconv", 32 "sync": "sync", 33 "sync/atomic": "atomic", 34 "time": "time", 35 "unicode": "unicode", 36 "unicode/utf8": "utf8", 37 }, 38 Interfaces: map[string]reflect.Type{ 39 "Result": reflect.TypeOf((*q.Result)(nil)).Elem(), 40 "Scanner": reflect.TypeOf((*q.Scanner)(nil)).Elem(), 41 }, 42 NamedTypes: map[string]reflect.Type{ 43 "ColumnType": reflect.TypeOf((*q.ColumnType)(nil)).Elem(), 44 "Conn": reflect.TypeOf((*q.Conn)(nil)).Elem(), 45 "DB": reflect.TypeOf((*q.DB)(nil)).Elem(), 46 "DBStats": reflect.TypeOf((*q.DBStats)(nil)).Elem(), 47 "IsolationLevel": reflect.TypeOf((*q.IsolationLevel)(nil)).Elem(), 48 "NamedArg": reflect.TypeOf((*q.NamedArg)(nil)).Elem(), 49 "NullBool": reflect.TypeOf((*q.NullBool)(nil)).Elem(), 50 "NullByte": reflect.TypeOf((*q.NullByte)(nil)).Elem(), 51 "NullFloat64": reflect.TypeOf((*q.NullFloat64)(nil)).Elem(), 52 "NullInt16": reflect.TypeOf((*q.NullInt16)(nil)).Elem(), 53 "NullInt32": reflect.TypeOf((*q.NullInt32)(nil)).Elem(), 54 "NullInt64": reflect.TypeOf((*q.NullInt64)(nil)).Elem(), 55 "NullString": reflect.TypeOf((*q.NullString)(nil)).Elem(), 56 "NullTime": reflect.TypeOf((*q.NullTime)(nil)).Elem(), 57 "Out": reflect.TypeOf((*q.Out)(nil)).Elem(), 58 "RawBytes": reflect.TypeOf((*q.RawBytes)(nil)).Elem(), 59 "Row": reflect.TypeOf((*q.Row)(nil)).Elem(), 60 "Rows": reflect.TypeOf((*q.Rows)(nil)).Elem(), 61 "Stmt": reflect.TypeOf((*q.Stmt)(nil)).Elem(), 62 "Tx": reflect.TypeOf((*q.Tx)(nil)).Elem(), 63 "TxOptions": reflect.TypeOf((*q.TxOptions)(nil)).Elem(), 64 }, 65 AliasTypes: map[string]reflect.Type{}, 66 Vars: map[string]reflect.Value{ 67 "ErrConnDone": reflect.ValueOf(&q.ErrConnDone), 68 "ErrNoRows": reflect.ValueOf(&q.ErrNoRows), 69 "ErrTxDone": reflect.ValueOf(&q.ErrTxDone), 70 }, 71 Funcs: map[string]reflect.Value{ 72 "Drivers": reflect.ValueOf(q.Drivers), 73 "Named": reflect.ValueOf(q.Named), 74 "Open": reflect.ValueOf(q.Open), 75 "OpenDB": reflect.ValueOf(q.OpenDB), 76 "Register": reflect.ValueOf(q.Register), 77 }, 78 TypedConsts: map[string]igop.TypedConst{ 79 "LevelDefault": {reflect.TypeOf(q.LevelDefault), constant.MakeInt64(int64(q.LevelDefault))}, 80 "LevelLinearizable": {reflect.TypeOf(q.LevelLinearizable), constant.MakeInt64(int64(q.LevelLinearizable))}, 81 "LevelReadCommitted": {reflect.TypeOf(q.LevelReadCommitted), constant.MakeInt64(int64(q.LevelReadCommitted))}, 82 "LevelReadUncommitted": {reflect.TypeOf(q.LevelReadUncommitted), constant.MakeInt64(int64(q.LevelReadUncommitted))}, 83 "LevelRepeatableRead": {reflect.TypeOf(q.LevelRepeatableRead), constant.MakeInt64(int64(q.LevelRepeatableRead))}, 84 "LevelSerializable": {reflect.TypeOf(q.LevelSerializable), constant.MakeInt64(int64(q.LevelSerializable))}, 85 "LevelSnapshot": {reflect.TypeOf(q.LevelSnapshot), constant.MakeInt64(int64(q.LevelSnapshot))}, 86 "LevelWriteCommitted": {reflect.TypeOf(q.LevelWriteCommitted), constant.MakeInt64(int64(q.LevelWriteCommitted))}, 87 }, 88 UntypedConsts: map[string]igop.UntypedConst{}, 89 }) 90 }