flags

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 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