Documentation ¶
Index ¶
- func GetStructTags(v interface{}, tag string) []string
- func HashSha256(data []byte) []byte
- func IndexOfString(slice []string, target string) int
- func IsNilOrEmpty(text *string) bool
- func MustBeTrue(cond bool, msg string, args ...interface{})
- func NewRandomBytes(length int) []byte
- func NewRandomString(length int) string
- func RemoveFromStings(texts []string, toRemove string) []string
- func SortedStringsContains(list []string, search string) bool
- func ToAnyStringOf(text *string, allowed []string, def string) string
- func ToInt64(value *int64, def int64) int64
- func ToString(value *string, def string) string
- func Uups(err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStructTags ¶
func HashSha256 ¶
func IndexOfString ¶
func IsNilOrEmpty ¶
func MustBeTrue ¶
func NewRandomBytes ¶
func NewRandomString ¶
func RemoveFromStings ¶
func SortedStringsContains ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.