Documentation ¶
Index ¶
- Variables
- func BytesToString(b []byte) string
- func LocalIp() (string, error)
- func MustMarshal(v interface{}) []byte
- func MustMarshalString(v interface{}) string
- func MustUnmarshal(b []byte, v interface{})
- 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 MustUnmarshal ¶ added in v1.0.6
func MustUnmarshal(b []byte, v interface{})
func StringToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.