Documentation ¶
Index ¶
- Constants
- func AppendBytes(b []byte, elems ...[]byte) []byte
- func DirExist(path string) bool
- func FileExist(path string) bool
- func IntSliceUnique(s []int) []int
- func ListFilesInDir(rootDir string) ([]string, error)
- func PrintCallerFuncNameForTest()
- func RandByTime(t *time.Time) int64
- func StringSliceUnique(s []string) []string
- func TimeGeneralLayout() string
Constants ¶
View Source
const ( TIME_FMT_STR_YEAR = "2006" TIME_FMT_STR_MONTH = "01" TIME_FMT_STR_DAY = "02" TIME_FMT_STR_HOUR = "15" TIME_FMT_STR_MINUTE = "04" TIME_FMT_STR_SECOND = "05" )
Variables ¶
This section is empty.
Functions ¶
func AppendBytes ¶
func IntSliceUnique ¶
func ListFilesInDir ¶
func PrintCallerFuncNameForTest ¶
func PrintCallerFuncNameForTest()
func RandByTime ¶
func StringSliceUnique ¶
func TimeGeneralLayout ¶
func TimeGeneralLayout() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.