* feat: support go1.11 and go 1.12. * chore: generate. * fix: build constraint. * exclude importer.For * generate go 1.11
54 lines
2.3 KiB
Go
54 lines
2.3 KiB
Go
// +build go1.11,!go1.12
|
|
|
|
package stdlib
|
|
|
|
// Code generated by 'goexports database/sql'. DO NOT EDIT.
|
|
|
|
import (
|
|
"database/sql"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Value["database/sql"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Drivers": reflect.ValueOf(sql.Drivers),
|
|
"ErrConnDone": reflect.ValueOf(&sql.ErrConnDone).Elem(),
|
|
"ErrNoRows": reflect.ValueOf(&sql.ErrNoRows).Elem(),
|
|
"ErrTxDone": reflect.ValueOf(&sql.ErrTxDone).Elem(),
|
|
"LevelDefault": reflect.ValueOf(sql.LevelDefault),
|
|
"LevelLinearizable": reflect.ValueOf(sql.LevelLinearizable),
|
|
"LevelReadCommitted": reflect.ValueOf(sql.LevelReadCommitted),
|
|
"LevelReadUncommitted": reflect.ValueOf(sql.LevelReadUncommitted),
|
|
"LevelRepeatableRead": reflect.ValueOf(sql.LevelRepeatableRead),
|
|
"LevelSerializable": reflect.ValueOf(sql.LevelSerializable),
|
|
"LevelSnapshot": reflect.ValueOf(sql.LevelSnapshot),
|
|
"LevelWriteCommitted": reflect.ValueOf(sql.LevelWriteCommitted),
|
|
"Named": reflect.ValueOf(sql.Named),
|
|
"Open": reflect.ValueOf(sql.Open),
|
|
"OpenDB": reflect.ValueOf(sql.OpenDB),
|
|
"Register": reflect.ValueOf(sql.Register),
|
|
|
|
// type definitions
|
|
"ColumnType": reflect.ValueOf((*sql.ColumnType)(nil)),
|
|
"Conn": reflect.ValueOf((*sql.Conn)(nil)),
|
|
"DB": reflect.ValueOf((*sql.DB)(nil)),
|
|
"DBStats": reflect.ValueOf((*sql.DBStats)(nil)),
|
|
"IsolationLevel": reflect.ValueOf((*sql.IsolationLevel)(nil)),
|
|
"NamedArg": reflect.ValueOf((*sql.NamedArg)(nil)),
|
|
"NullBool": reflect.ValueOf((*sql.NullBool)(nil)),
|
|
"NullFloat64": reflect.ValueOf((*sql.NullFloat64)(nil)),
|
|
"NullInt64": reflect.ValueOf((*sql.NullInt64)(nil)),
|
|
"NullString": reflect.ValueOf((*sql.NullString)(nil)),
|
|
"Out": reflect.ValueOf((*sql.Out)(nil)),
|
|
"RawBytes": reflect.ValueOf((*sql.RawBytes)(nil)),
|
|
"Result": reflect.ValueOf((*sql.Result)(nil)),
|
|
"Row": reflect.ValueOf((*sql.Row)(nil)),
|
|
"Rows": reflect.ValueOf((*sql.Rows)(nil)),
|
|
"Scanner": reflect.ValueOf((*sql.Scanner)(nil)),
|
|
"Stmt": reflect.ValueOf((*sql.Stmt)(nil)),
|
|
"Tx": reflect.ValueOf((*sql.Tx)(nil)),
|
|
"TxOptions": reflect.ValueOf((*sql.TxOptions)(nil)),
|
|
}
|
|
}
|