env

package
v0.0.0-...-248c615 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dev  = "dev"
	Prod = "prod"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func NewEnv

func NewEnv() *Env

func (*Env) GetDatabase

func (e *Env) GetDatabase(id string) frameworkContract.Database

func (*Env) GetEnv

func (e *Env) GetEnv() string

func (*Env) GetGinEnv

func (e *Env) GetGinEnv() string

func (*Env) GetHost

func (e *Env) GetHost() string

func (*Env) GetTimezone

func (e *Env) GetTimezone() *time.Location

Jump to

Keyboard shortcuts

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