env

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Overview

Package env consists of environment variables

Index

Constants

View Source
const (
	Production = "production"
	Staging    = "staging"
)

Constants for environment values

Variables

This section is empty.

Functions

func AuthModelFilePath

func AuthModelFilePath() string

AuthModelFilePath returns the path to the auth model file

func ConfigFilePath

func ConfigFilePath() string

ConfigFilePath returns the path to the config file

func ConfigValue

func ConfigValue() string

ConfigValue returns the value of the config file

func DBConfigFilePath

func DBConfigFilePath() string

DBConfigFilePath returns the path to the db config file

func Env

func Env() string

Env returns the environment

func IsProduction

func IsProduction() bool

IsProduction returns true if the environment is production

func IsStaging

func IsStaging() bool

IsStaging returns true if the environment is staging

func ServiceName

func ServiceName() string

ServiceName returns the service name

func Version

func Version() string

Version returns the version

Types

This section is empty.

Jump to

Keyboard shortcuts

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