env

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build added in v0.2.6

type Build struct {
	Repository    string `config:"GITHUB_REPOSITORY" default:""`
	RepositoryUrl string `config:"GITHUB_REPOSITORY_URL" default:""`
	Commit        string `config:"GITHUB_SHA" default:""`

	AppVersion string `config:"APP_VERSION" default:""`
}

type Environment

type Environment struct {
	Name string `config:"ENV" default:"development"`
}

func (Environment) IsProduction

func (e Environment) IsProduction() bool

Jump to

Keyboard shortcuts

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