env

package
v0.0.0-...-16952c6 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package env contains environment-designating symbols and functions.

Index

Constants

View Source
const (
	None  = Level(-1)
	Unit  = Level(0)
	Dev   = Level(1)
	Stage = Level(2)
	Prod  = Level(3)
)

env levels

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int

Level is an integer representing a run env.

func NewLevel

func NewLevel(level string) (Level, error)

NewLevel evaluates env var strings to Level instances.

Jump to

Keyboard shortcuts

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