Documentation
¶
Index ¶
- Variables
- func CompareHashPassword(password, hash string) bool
- func CompareHosts(links ...string) error
- func HashPassword(password string) (string, error)
- func MapArray[T any, K any](data []K, cb func(index int, item K) T) []T
- func Must(err error)
- func MustMsg(err error, msg string)
- func NormalizeURL(url string) string
- func Point[T any](val T) *T
- func RequestIsAjax(r *http.Request) bool
- func RequestIsJson(r *http.Request) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHostNotCompare = errors.New("host not compare")
Functions ¶
func CompareHashPassword ¶
func CompareHosts ¶
func HashPassword ¶
func NormalizeURL ¶
func RequestIsAjax ¶
func RequestIsJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.