stage

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvStage

type EnvStage struct {
	Name Name
}

func (EnvStage) Get

func (s EnvStage) Get() Name

Get Load configuration for stage with fallback to 'dev'.

func (EnvStage) String

func (s EnvStage) String() string

Get Load configuration for stage with fallback to 'dev'.

type Interface

type Interface interface {
	Get() Name
	String() string
}

func NewEnvStage

func NewEnvStage(fallback string) Interface

type Name

type Name string
const Defaults Name = "defaults"

func (Name) String

func (sn Name) String() string

Jump to

Keyboard shortcuts

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