envvars

package
v0.0.0-...-f1f5302 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(distFilePath string)

func Get

func Get(name EnvVarName) string

Types

type EnvVarName

type EnvVarName string
const (
	EnvVarNamePort                    EnvVarName = "PORT"
	EnvVarNameGitHubOAuthClientID     EnvVarName = "GITHUB_OAUTH_CLIENT_ID"
	EnvVarNameGitHubOAuthClientSecret EnvVarName = "GITHUB_OAUTH_CLIENT_SECRET"
	EnvVarNameGinMode                 EnvVarName = "GIN_MODE"
)

Jump to

Keyboard shortcuts

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