Documentation ¶
Index ¶
- func CopyFile(src, dst string) (int64, error)
- func FilePathExists(path string) bool
- func GetFileModifyTime(fileName string) int64
- func GetFileSize(fileName string) int64
- func GetFloat32Param(param map[string]string, key string, defaultVal float32) float32
- func GetFloat64Param(param map[string]string, key string, defaultVal float64) float64
- func GetInt32Param(param map[string]string, key string, defaultVal int32) int32
- func GetInt64Param(param map[string]string, key string, defaultVal int64) int64
- func GetInt8Param(param map[string]string, key string, defaultVal int8) int8
- func GetIntParam(param map[string]string, key string, defaultVal int) int
- func GetMD5(filepath string) string
- func GetStringParam(param map[string]string, key string, defaultVal string) string
- func GetUInt32Param(param map[string]string, key string, defaultVal uint32) uint32
- func GetUInt64Param(param map[string]string, key string, defaultVal uint64) uint64
- func Int2String(v int) string
- func ListDir(dir string) ([]string, error)
- func String2Float32(s string) float32
- func String2Float64(s string) float64
- func String2Int(s string) int
- func String2Int32(s string) int32
- func String2Int32List(s string, split string) []int32
- func String2Int64(s string) int64
- func String2Int64List(s string, split string) []int64
- func String2Int8(s string) int8
- func String2IntList(s string, split string) []int
- func String2UInt(s string) uint
- func String2UInt32(s string) uint32
- func String2UInt32List(s string, split string) []uint32
- func String2UInt64(s string) uint64
- func String2UInt64List(s string, split string) []uint64
- func StringSplit(s string, sep string) []string
- func UInt322String(v uint32) string
- func UInt642String(v uint64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilePathExists ¶
func GetFileModifyTime ¶ added in v0.0.4
func GetFileSize ¶ added in v0.0.5
func GetFloat32Param ¶
func GetFloat64Param ¶
func GetInt32Param ¶
func GetInt64Param ¶
func GetStringParam ¶ added in v0.0.6
func GetUInt32Param ¶
func GetUInt64Param ¶
func Int2String ¶
func String2Float32 ¶
func String2Float64 ¶
func String2Int ¶
func String2Int32 ¶
func String2Int32List ¶
func String2Int64 ¶
func String2Int64List ¶
func String2Int8 ¶
func String2IntList ¶
func String2UInt ¶
func String2UInt32 ¶
func String2UInt32List ¶
func String2UInt64 ¶
func String2UInt64List ¶
func StringSplit ¶
func UInt322String ¶
func UInt642String ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.