env

package
v0.0.0-...-5f5a93c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvConfig

type EnvConfig struct {
	Port          string `envconfig:"PORT"`
	MysqlUser     string `envconfig:"MYSQL_USER"`
	MysqlPassowrd string `envconfig:"MYSQL_PASSWORD"`
	MysqlAddr     string `envconfig:"MYSQL_ADDR"`
	MysqlDBName   string `envconfig:"MYSQL_DATABASE"`
	AppEnv        string `envconfig:"APP_ENV"`
}

func NewEnvConfig

func NewEnvConfig() *EnvConfig

Jump to

Keyboard shortcuts

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