Documentation ¶
Index ¶
- func EachMapSort(eachMap interface{}, eachFunc interface{}) error
- func GetInterfaceFiledValue(v interface{}, fieldName string) reflect.Value
- func GetLinesFromBuffer(buf *bytes.Buffer) []string
- func GetSelfIps() map[string]map[string]string
- func GetSelfPath() string
- func GetSelfPathFull() string
- func GetSelfV4IFaceFirst() string
- func GetSelfV4IpFirst(iFace ...string) string
- func GetSelfV4Ips() map[string]string
- func GetSelfV6IFaceFirst() string
- func GetSelfV6IpFirst(iFace ...string) string
- func GetSelfV6Ips() map[string]string
- func InterfaceToStruct(out interface{}, in interface{}) error
- func IsUuid(obj interface{}) bool
- func MakeInstanceFromSlice(v interface{}) (i interface{}, err error)
- func MapStringValues(m map[string]string) (v []string)
- func ReTry(callback func() bool, times int, step time.Duration)
- func RunningOs(osName ...string) string
- func UuidGenerate() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EachMapSort ¶
func EachMapSort(eachMap interface{}, eachFunc interface{}) error
func GetInterfaceFiledValue ¶
func GetLinesFromBuffer ¶
func GetSelfIps ¶
func GetSelfPath ¶
func GetSelfPath() string
func GetSelfPathFull ¶
func GetSelfPathFull() string
func GetSelfV4IFaceFirst ¶
func GetSelfV4IFaceFirst() string
func GetSelfV4IpFirst ¶
func GetSelfV4Ips ¶
func GetSelfV6IFaceFirst ¶
func GetSelfV6IFaceFirst() string
func GetSelfV6IpFirst ¶
func GetSelfV6Ips ¶
func InterfaceToStruct ¶
func InterfaceToStruct(out interface{}, in interface{}) error
func MakeInstanceFromSlice ¶
func MakeInstanceFromSlice(v interface{}) (i interface{}, err error)
func MapStringValues ¶
func UuidGenerate ¶
func UuidGenerate() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.