Documentation ¶
Index ¶
- func DecodeFromBase64(input string) string
- func DecodeURL(s string) (string, error)
- func EncodeToBase64(input string) string
- func EncodeURL(s string) string
- func GenerateGUID() string
- func GeneratePassword(length int, enableSpecialChars bool, enableNumeric bool, enableCapital bool) string
- func GenerateULID() string
- func HashString(str string, algorithm string) (string, error)
- func IndentJSON(input string) (string, error)
- func Json2Yaml(json string) (string, error)
- func MinifyJSON(input string) (string, error)
- func Yaml2Json(yamlString string) (string, error)
- type JWT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFromBase64 ¶
func EncodeToBase64 ¶
encodeToBase64 encodes a string to base64
func GenerateGUID ¶
func GenerateGUID() string
func GeneratePassword ¶
func GenerateULID ¶
func GenerateULID() string
func IndentJSON ¶
func MinifyJSON ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.