package
0.0.0-20241212022123-17d08ac6bdb7
Repository: https://github.com/inhere/go-web-skeleton.git
Documentation: pkg.go.dev
# Functions
Filling filling a model from submitted data data 提交过来的数据结构体 model 定义表模型的数据结构体 相当于是在合并两个结构体(data 必须是 model 的子集).
GetRootPath Get abs path of the project.
JsonEncode decode json bytes to data.
JsonEncode encode data to json bytes.
LocTime get local time.
create new redis pool @see https://git-books.github.io/books/go-web-programme/?p=05.6.md.