flags

package
v0.0.0-...-ac5decb Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) string

Types

type ConfigLoader

type ConfigLoader struct {
	// contains filtered or unexported fields
}

func (*ConfigLoader) GetString

func (cl *ConfigLoader) GetString(key string) string

func (*ConfigLoader) ReadConfig

func (cl *ConfigLoader) ReadConfig(in io.Reader) error

type Flags

type Flags struct {
	// contains filtered or unexported fields
}

func MustLoad

func MustLoad() *Flags

func (*Flags) Get

func (f *Flags) Get(key string) (string, error)

Jump to

Keyboard shortcuts

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