env

package
v0.0.0-...-af6c1de Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVars

type EnvVars struct {
	GO_ENV       string `mapstructure:"GO_ENV"`
	APP_NAME     string `mapstructure:"APP_NAME"`
	MONGODB_URL  string `mapstructure:"MONGODB_URL"`
	MONGODB_NAME string `mapstructure:"MONGODB_NAME"`
	POSTGRES_URL string `mapstructure:"POSTGRES_URL"`
	REDIS_URL    string `mapstructure:"REDIS_URL"`
	PORT         string `mapstructure:"PORT"`
	EXTERNAL_URL string `mapstructure:"EXTERNAL_URL"`
}

func LoadEnv

func LoadEnv() (*EnvVars, error)

Jump to

Keyboard shortcuts

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