Documentation
¶
Index ¶
- func Base64Decode(s string) ([]byte, error)
- func Base64Encode(data []byte) string
- func Marshal64(data interface{}) (string, error)
- func NoCaseContains(s, substr string) bool
- func Panic(err error)
- func PathIsExist(name string) bool
- func PathIsNotExist(name string) (ok bool)
- func RandomBytes(size int) []byte
- func RandomString(size int) string
- func TimeNow() int64
- func Unmarshal64_Wrong(data64 string, value interface{}) error
- func WrapErrors(allErrors ...error) (wrapped error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func NoCaseContains ¶
NoCaseContains reports whether substr is within s case-insensitive.
func PathIsExist ¶
func PathIsNotExist ¶
func RandomBytes ¶
func Unmarshal64_Wrong ¶
Unmarshal64_Wrong 是一个错误的的函数,不可使用! 因为 value 是值,不是指针,因此 &value 无法传出去。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.