Documentation
¶
Index ¶
- func CheckDirname(dirname string) error
- func CheckFilename(filename string) error
- func DumpVal(val interface{})
- func FormatFileSize(fileSize uint64) (size string)
- func FormatTimestamp(timestamp int64) string
- func ProcessPageByList(page, pageSize, defaultPageSize int) (limit int, offset int)
- func SliceUniqueUint(val *[]uint) []uint
- func Struct2Map(target interface{}) (data map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDirname ¶
func CheckFilename ¶
func FormatFileSize ¶
func FormatTimestamp ¶
func ProcessPageByList ¶
处理列表分页
func SliceUniqueUint ¶
func Struct2Map ¶
func Struct2Map(target interface{}) (data map[string]interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.