args

package
v0.0.0-...-9ae062e Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgParser

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

func Parser

func Parser() *ArgParser

func (*ArgParser) AddArg

func (a *ArgParser) AddArg(key string, val string, des string) *ArgParser

func (*ArgParser) Get

func (a *ArgParser) Get(key string) (string, bool)

func (*ArgParser) GetInt

func (a *ArgParser) GetInt(key string) (int, bool)

func (*ArgParser) Parse

func (a *ArgParser) Parse() *ArgParser

Jump to

Keyboard shortcuts

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