helpers

package
v0.0.0-...-5b323e4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(hashedPassword string, password string) error

ComparePassword compares the hashed password and the password

func HashPassword

func HashPassword(password string) (string, error)

HashPassword generates a hashed password from given input

func RootDir

func RootDir() string

RootDir returns the current path of the project

func SetControllerAttributes

func SetControllerAttributes(c *web.Controller)

SetControllerAttributes : Set some attributes of controller

func ToSnakeCase

func ToSnakeCase(str string) string

ToSnakeCase : Convert camelCase to snake_case

Types

This section is empty.

Jump to

Keyboard shortcuts

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