Documentation ¶
Index ¶
- Variables
- func BytesToString(b []byte) string
- func Do(key string, fn func() (interface{}, error)) (interface{}, error)
- func GetLastPwd() string
- func GetProjectName() string
- func GetPwd() string
- func LocalIp() (string, error)
- func MustMarshal(v interface{}) []byte
- func MustMarshalString(v interface{}) string
- func MustUnmarshal2Map(b []byte, v map[string]string)
- func NewUUID() string
- func RandInt(min, max int) int
- func StringToBytes(s string) (b []byte)
- type Group
Constants ¶
This section is empty.
Variables ¶
View Source
var Jsoniter = jsoniter.ConfigFastest
Functions ¶
func BytesToString ¶
func MustMarshal ¶
func MustMarshal(v interface{}) []byte
func MustMarshalString ¶
func MustMarshalString(v interface{}) string
func MustUnmarshal2Map ¶
func StringToBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.