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