config

package
v0.0.0-...-72dc9a7 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0, MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDBName

func GetDBName() string

func GetDataPath

func GetDataPath() string

func GetEnv

func GetEnv() string

func IsDebug

func IsDebug() bool

Types

type Env

type Env struct {
	DEBUG    bool   `env:"DEBUG"`
	ENV      string `env:"ENV"`
	DBNAME   string `env:"DBNAME"`
	DATAPATH string `env:"DATAPATH"`
}

Jump to

Keyboard shortcuts

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