Documentation ¶
Index ¶
- func ByteCountIEC(b int64) string
- func CutShotHash(st string, l int) string
- func TimeStringDateOnly(dur time.Time) (format string)
- func TimeStringTimeOnly(dur time.Time) (format string)
- func TimeStringWitLongDate(dur time.Time) (format string)
- func TimeStringWithDate(dur time.Time) (format string)
- func TimeToString(s time.Time) (ts string)
- func TrimSpaceNewlineInString(s string) string
- func UniqueInt(intSlice []int) []int
- func UniqueInt64(intSlice []int64) []int64
- func UniqueString(intSlice []string) []string
- type SubChannel
- type TimeString
- type UserAgent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimeStringDateOnly ¶
TimeStringDateOnly -
func TimeStringTimeOnly ¶
TimeStringTimeOnly -
func TimeStringWitLongDate ¶
TimeStringWitLongDate -
func TimeStringWithDate ¶
TimeStringWithDate -
func TrimSpaceNewlineInString ¶
TrimSpaceNewlineInString -
Types ¶
type SubChannel ¶
SubChannel -
type TimeString ¶
TimeString -
func (*TimeString) WithMilliSecond ¶
func (cc *TimeString) WithMilliSecond() *TimeString
WithMilliSecond -
Click to show internal directories.
Click to hide internal directories.