config

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEVELOPMENT = "development"
	HEAD        = "HEAD"
	EPOCH       = "0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Version   string
	GitHash   string
	BuildTime time.Time
}

type Config

type Config struct {
	BuildInfo BuildInfo
	Env       BuildInfo
}

func GetConfig

func GetConfig() Config

func GetGlobalConfig

func GetGlobalConfig() Config

Jump to

Keyboard shortcuts

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