Documentation ¶
Index ¶
- func Exist(path string) bool
- func GetNows(formats ...interface{}) (timeres string)
- func HiddenPhone(phonenumber string) string
- func ParseDefultToStruct(objT reflect.Type, objV reflect.Value) error
- func RandomNum(length int) string
- func RandomStr(length int) string
- func SetDCM(obj interface{})
- func SetStructDefault(obj interface{}) (err error)
- func ToMD5(old string) (neww string)
- func TransSlice2Map(s []string) map[string]struct{}
- func UnmarshalFromString(s string, o interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HiddenPhone ¶
func SetStructDefault ¶
func SetStructDefault(obj interface{}) (err error)
SetStructDefault post params
func TransSlice2Map ¶
func UnmarshalFromString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.