lib

package
v0.0.0-...-d492d45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Lid *lid.Lid

Functions

func Bytes2str

func Bytes2str(b []byte) string

func FormatTime

func FormatTime(time time.Time) string

FormatTime 格式化时间

func JsonMarshal

func JsonMarshal(v interface{}) string

func Str2bytes

func Str2bytes(s string) []byte

func UnFormatTime

func UnFormatTime(str string) (time.Time, error)

UnFormatTime 将时间字符串转为Time

func UnixTime

func UnixTime(t time.Time) int64

UnixTime 将时间转化为毫秒数

func UnunixTime

func UnunixTime(unix int64) time.Time

UnunixTime 将毫秒数转为为时间

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL