flags

package
v0.0.0-...-2482490 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 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