flags

package
v1.8.14 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZhFlagConfig []byte

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