Discover Packages
github.com/gookit/goutil
package
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 7, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 59
Opens a new window with list of known importers.
README
README
¶
go utils
some go util functions collection
str
env
web
cli
format format data tool
fs file system tool
json
maps
arr
num
License
MIT
Expand ▾
Collapse ▴
Documentation
¶
CalcElapsedTime 计算运行时间消耗 单位 ms(毫秒)
func Filling(data interface{}, model interface{}) error
Filling filling a model from submitted data
data 提交过来的数据结构体
model 定义表模型的数据结构体
相当于是在合并两个结构体(data 必须是 model 的子集)
Go is a basic promise implementation: it wraps calls a function in a goroutine
and returns a channel which will later return the function's return value.
from beego/bee
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.