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