Documentation ¶
Index ¶
- Variables
- func Addr2Hex(str string) (string, error)
- func All(ss []string, match func(item string) bool) bool
- func Any(ss []string, match func(item string) bool) bool
- func AnyBlank(ss []string) bool
- func CallerName(skip int) string
- func FunctionName(i interface{}) string
- func GenerateID() string
- func GenerateUUID(seedTime time.Time) string
- func HasString(ss []string, str string) bool
- func Hex2Addr(str string) (string, error)
- func IndexString(ss []string, str string) int
- func Json(obj interface{}) string
- func JsonBytes(obj interface{}) []byte
- func ObjectName(i interface{}) string
- func Pointer(str string) *string
- func PrettyJSONBytes(obj interface{}) []byte
- func PrettyJson(obj interface{}) string
- func Reverse(s string) string
- func ToCamelCase(str string) string
- func ToSnakeCase(str string) string
- type Formatter
- type Strings
Constants ¶
This section is empty.
Variables ¶
View Source
var OmitDefaultAPI = jsoniter.Config{ SortMapKeys: true, UseNumber: true, CaseSensitive: true, EscapeHTML: true, ValidateJsonRawMessage: true, }.Froze()
OmitDefaultAPI ...
Functions ¶
func GenerateUUID ¶
GenerateUUID simply generates an unique UID.
func IndexString ¶ added in v0.4.2
Types ¶
Click to show internal directories.
Click to hide internal directories.