mmeta

package
v0.4.74 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendArgs

func AppendArgs(name, defaultValue, usage string)

func Get

func Get(name string) any

func ParseArgs

func ParseArgs()

func ReadSysFile

func ReadSysFile(filePath string)

func SetSys

func SetSys(key string, value any)

func Unmarshal

func Unmarshal(rawVal interface{}, opts ...viper.DecoderConfigOption) error

Types

type Arg

type Arg struct {
	DefaultValue string
	Value        string
	Name         string
	Usage        string
}

Jump to

Keyboard shortcuts

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