utils

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const BcryptCost = 14

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func GetTemplateFuncs

func GetTemplateFuncs() template.FuncMap

GetTemplateFuncs returns the map of template functions used in templates

func HashPassword

func HashPassword(password string) (string, error)

func ParseUint

func ParseUint(s string) (uint, error)

func Slugify

func Slugify(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL