Documentation ¶
Index ¶
- Constants
- 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
Constants ¶
View Source
const ( PageIndexDefault = 1 PageSizeDefault = 20 )
Variables ¶
This section is empty.
Functions ¶
func EightBitRand ¶
func EightBitRand() string
func Map2Struct ¶
func Map2Struct(input, result interface{})
func OddsCompute ¶
func Struct2Map ¶
func Struct2Map(obj interface{}) map[string]interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.