environments

package
v0.0.0-...-1717708 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Env struct {
	Port           string `json:"PORT" validators:"required,minLength:4,maxLength:5" transformers:"trim,lowercase"`
	DbConnection   string `json:"DB_CONNECTION" validators:"required,minLength:4" transformers:"trim"`
	MigrationPath  string `json:"MIGRATION_PATH" validators:"required,minLength:4" transformers:"trim,lowercase"`
	Environment    string `json:"ENV" validators:"enum:development-staging-production" transformers:"trim,lowercase"`
	ClerkSecretKey string `json:"CLERK_SECRECT_KEY" validators:"required" transformers:"trim"`
}

Functions

func InitializeEnvironments

func InitializeEnvironments(logger *slog.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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