utils

package
v0.0.0-...-b7aaf62 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func CreateEmptyJSONB

func CreateEmptyJSONB() pgtype.JSONB

func GenerateAPIKey

func GenerateAPIKey() (string, error)

func HashPassword

func HashPassword(password string) (string, error)

func IsValidUUID

func IsValidUUID(str string) (bool, error)

func StringPrompt

func StringPrompt(label string) string

func YesNoPrompt

func YesNoPrompt(label string, def bool) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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