config

package
v0.2.5-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DEV_ENV represents the development environment of the app
	DEV_ENV string = "development"
	// PROD_ENV represents the production environment of the app
	PROD_ENV string = "production"
)

Variables

View Source
var (
	// Version refers to the current running version of the application based
	// on the git tag that it was deployed with. This variable is set during
	// build with build flags.
	Version string
)

Functions

func LoadEnv

func LoadEnv() error

LoadEnv will try to load .env file in development and will check the existance of required environment variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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