Documentation
¶
Index ¶
- func Append(filename string, data []byte) error
- func AppendFile(filename string, data []byte, perm os.FileMode) error
- func IsPrivateIP(ip string) bool
- func IsPublicIP(ipaddr string) bool
- func StructToMap(v interface{}, tag string) map[string]interface{}
- func TimestampFormat(seconds int64, format string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StructToMap ¶
StructToMap 结构体转map
func TimestampFormat ¶
TimestampFormat 序列化时间戳
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.