Versions in this module Expand all Collapse all v0 v0.1.8 Oct 24, 2019 Changes in this version + const PageIndexDefault + const PageSizeDefault + func EightBitRand() string + func GenMicTime() int64 + func GenMicTimeStr() string + func ID(result sql.Result, err error) (int64, error) + func Map2Struct(input, result interface{}) + func MicTimeToFormatStr() string + func MicTimeToStr(i64 int64) string + func OddsCompute(o1, o2 float64) bool + func R(result sql.Result, err error) error + func S2F64(idS string) (float64, error) + func S2I32(idS string) (int32, error) + func S2ID(idS string) (int64, error) + func S2N(idS string) (int64, error) + func StrMicTimeToStr(s string) (string, error) + func StrToMicTime(s string) string + func Struct2Map(obj interface{}) map[string]interface + func V(fns ...vFn) error + type Page struct + Count int64 + PageIndex int64 + PageSize int64 + PageTotal int64 + Total int64 + func (p *Page) InitPage(total int64)