Documentation ¶
Index ¶
- func Base64URLDecode(encoded string) ([]byte, error)
- func DedupStringSlice(strings []string) []string
- func FastHashHex(b []byte) string
- func GenerateEtag(b []byte) string
- func Keys[M ~map[K]V, K comparable, V any](m M) []K
- func Min(args ...int) int
- func Obfuscate(str string, clearLen int) string
- func ReadFile(path string) string
- func UseTempFile(data string, f func(path string))
- func WithTimeout(timeout time.Duration, f func())
- func WriteIntoFile(path string, data string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64URLDecode ¶
func DedupStringSlice ¶ added in v0.2.3
func FastHashHex ¶
func GenerateEtag ¶
func Keys ¶ added in v0.2.3
func Keys[M ~map[K]V, K comparable, V any](m M) []K
func UseTempFile ¶
func WithTimeout ¶
func WriteIntoFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.