package
0.0.0-20220115132427-a6acc8650ab5
Repository: https://github.com/loopcontext/auth-api-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

EmailCheck checks the correct formatting of an email.
GetEnv will return the env or empty string.
HashPassword hash the password with bcrypt.
MustGet will return the env or panic if it is not present.
MustGetBool will return the env as boolean or panic if it is not present.
MustGetInt32 will return the env as int32 or panic if it is not present.
MustGetInt64 will return the env as int64 or panic if it is not present.
PasswordCheck compares a password hash with what we have stored.
StrToPtrStr return a pointer to the input string.

# Variables

ProjectContextKeys the project's context keys.

# Structs

ContextKeys holds the context keys throughout the project.

# Type aliases

ContextKey defines a type for context keys shared in the app.