Documentation ¶
Index ¶
- func DecodeToken(token string) (jwt.Token, error)
- func EncodeToken(token jwt.Token) (string, error)
- func HashPassword(password string) (hash string, err error)
- func LoadConfig()
- func Paginate(db *gorm.DB, page int, perPage int) func(db *gorm.DB) *gorm.DB
- func ParseTemplate(fs embed.FS, view string, data interface{}) string
- func TotalPages(db *gorm.DB, value interface{}, perPage int) int
- func TotalRows(db *gorm.DB, value interface{}) int
- func VerifyPassword(password string, hash string) (match bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
func LoadConfig ¶
func LoadConfig()
func ParseTemplate ¶
Template parser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.