Documentation
¶
Index ¶
- func BcryptCheck(password, hash string) bool
- func BcryptHash(password string) string
- func GetExecPath() (workDir string)
- func MD5V(str []byte, b ...byte) string
- func ParseDuration(d string) (time.Duration, error)
- func RandString(n int) string
- func SHA256(input string) string
- func SliceColumn[T any](items []T, separator string, jsonPath ...string) (map[string][]T, error)
- func SlicesDistinct[T comparable](slice []T) []T
- func TypePtr[T any](v T) *T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExecPath ¶
func GetExecPath() (workDir string)
func RandString ¶
func SliceColumn ¶
func SlicesDistinct ¶
func SlicesDistinct[T comparable](slice []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.