config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string)

Types

type Configuration

type Configuration struct {
	AppEnv      string `mapstructure:"APP_ENV"`
	BaseUrl     string `mapstructure:"BASE_URL"`
	DatabaseUrl string `mapstructure:"DATABASE_URL"`
	Port        string `mapstructure:"PORT"`
	Secret      string `mapstructure:"SECRET"`
}
var AppConfig *Configuration

Jump to

Keyboard shortcuts

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