envconst

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(varname string, def bool) (d bool)

func Duration

func Duration(varname string, def time.Duration) (d time.Duration)

func Int

func Int(varname string, def int) (d int)

func Int64

func Int64(varname string, def int64) (d int64)

func Reset

func Reset()

func String

func String(varname string, def string) (d string)

func Uint64

func Uint64(varname string, def uint64) (d uint64)

func Var

func Var(varname string, def flag.Value) (d interface{})

Types

type EntryReport

type EntryReport struct {
	Var         string
	Value       string
	ValueGoType string
}

type Report

type Report struct {
	Entries []EntryReport
}

func GetReport

func GetReport() *Report

Jump to

Keyboard shortcuts

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