package
0.0.9
Repository: https://github.com/ecodeclub/ekit.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSQLRowsScanner 返回一个Scanner.

# Variables

No description provided by the author

# Structs

EncryptColumn 代表一个加密的列 一般来说加密可以选择依赖于数据库进行加密 EncryptColumn 并不打算使用极其难破解的加密算法 而是选择使用 AES GCM 模式。 如果你觉得安全性不够,那么你可以考虑自己实现类似的结构体.
JsonColumn 代表存储字段的 json 类型 主要用于没有提供默认 json 类型的数据库 T 可以是结构体,也可以是切片或者 map 理论上来说一切可以被 json 库所处理的类型都能被用作 T 不建议使用指针作为 T 的类型 如果 T 是指针,那么在 Val 为 nil 的情况下,一定要把 Valid 设置为 false.

# Interfaces

No description provided by the author
Scanner 用于简化sql.Rows包中的Scan操作 Scanner 不会关闭sql.Rows,用户需要对此负责.