Documentation
¶
Index ¶
- func GetMapKeys(inputMap map[string][]byte) []string
- func GetMemberID(suffix string) string
- func MD5Hash(data string, length int) string
- func RandomString(n int, seed bool) string
- func SplitTags(tags string) []string
- func StringSliceContains(stringSlice []string, data string) bool
- func StringSliceInStringSlice(s1, s2 []string) bool
- type CustomDuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapKeys ¶
Helper for fetching keys in a map
func RandomString ¶
From @stackoverflow; generate an optionally seeded, N length random string
Types ¶
type CustomDuration ¶
func (*CustomDuration) MarshalJSON ¶
func (cd *CustomDuration) MarshalJSON() ([]byte, error)
func (*CustomDuration) String ¶
func (cd *CustomDuration) String() string
func (*CustomDuration) UnmarshalJSON ¶
func (cd *CustomDuration) UnmarshalJSON(data []byte) error
Source Files
¶
- util.go
Click to show internal directories.
Click to hide internal directories.