Documentation ¶
Index ¶
- Variables
- func BytesToString(b []byte) 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 NewXID() string
- func RandInt(min, max int) int
- func StringToBytes(s string) (b []byte)
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.