Documentation
¶
Index ¶
- Constants
- func Int2String(i int) string
- func Int642String(i int64) string
- func NullTime2String(nt sql.NullTime) string
- func String2Int(s string) (int, error)
- func String2Int64(s string) (int64, error)
- func String2Time(s string) (time.Time, error)
- func String2Uint(s string) (uint, error)
- func String2Uint64(s string) (uint64, error)
- func Time2String(t time.Time) string
- func Uint2String(i uint) string
- func Uint642String(i uint64) string
Constants ¶
View Source
const (
// TimeFormat 默认的时间格式
TimeFormat = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
func NullTime2String ¶
NullTime2String sql.NullTime to string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.