Documentation ¶
Index ¶
- Constants
- func ContainInt(one int, all ...int) bool
- func ContainStr(one string, all ...string) bool
- func Duplicate(a interface{}) (ret []interface{})
- func Duration(hours int) time.Duration
- func Guid() string
- func NewV5(ns uuid.UUID, name string) string
- func RandIntn(n int) int
- func RetroWeekN(n time.Weekday) time.Time
- func StrToInt64(num string) int64
- func StrToTime(timeStr string, template TimeTemplate) (time.Time, error)
- func T3(b bool, x, y interface{}) interface{}
- func TimeOfYMD(tm time.Time) time.Time
- func ToSqlIn(items ...string) string
- func UUID() string
- func UUID2(domain byte) string
- func UUID3(ns uuid.UUID, name string) string
- func UUID4() string
- type TimeTemplate
Constants ¶
View Source
const ( TT1 TimeTemplate = "2006-01-02 15:04:05" TT2 = "2006/01/02 15:04:05" TT3 = "2006-01-02" TT4 = "20060102" TT5 = "15:04:05" )
View Source
const CNM = `` /* 306-byte string literal not displayed */
View Source
const DEEPLINK = `` /* 152-byte string literal not displayed */
View Source
const EMTF = `` /* 1003-byte string literal not displayed */
View Source
const HOLLSON = `` /* 301-byte string literal not displayed */
View Source
const SYBS = `
__
_____ __/ / ___
(_-/ // / _ \(_-<
/___\_, /_.__/___/
/___/ `
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TimeTemplate ¶
type TimeTemplate string
Click to show internal directories.
Click to hide internal directories.