Documentation ¶
Index ¶
- Variables
- func IPtrToValue(iptr interface{}) reflect.Value
- func IsPath(key string) bool
- func MakeSlice(v reflect.Value, count int) (*reflect.Value, error)
- func SplitKeys(key string) (path string, subkey string)
- func VaildListStruct(v reflect.Value) error
- func ValidPtr(v reflect.Value) error
- type Queryer
- type SqlExecutor
- type Store
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFoundError = errors.New("key not found")
View Source
var NotPrtError = errors.New("输出对象必须是指针结构")
View Source
var NotSliceError = errors.New("输出对象必须是Slice结构")
Functions ¶
func IPtrToValue ¶
func VaildListStruct ¶
Types ¶
type SqlExecutor ¶
type Store ¶
type Store interface { Write(string, interface{}) error // Read2(string, *interface{}) error Read(string, interface{}) error // key, out set value interface{} like &user is point interface{} // ReadAll2(*[]interface{}) error ReadAll(interface{}) error //out set value interface{} like &[]users is array struct Keys(...string) []string //out set value interface{} like &[]users is array struct Perfix() string }
Store 存储接口
Click to show internal directories.
Click to hide internal directories.