flags

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

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalFlags sync.Map

GlobalFlags -

Functions

func Parse

func Parse()

Parse -

func SetBoolVar

func SetBoolVar(val *BoolVar)

SetBoolVar -

func SetBoolVarP

func SetBoolVarP(val *BoolVarP)

SetBoolVarP -

func SetIntVar

func SetIntVar(val *IntVar)

SetIntVar -

func SetStringVar

func SetStringVar(val *StringVar)

SetStringVar -

Types

type BoolVar

type BoolVar struct {
	Keys            string
	Long            string
	Value           bool
	DefaultValue    bool
	Description     string
	IsRatesModule   bool
	IsBrokersModule bool
	ModuleName      string
}

BoolVar -

type BoolVarP

type BoolVarP struct {
	Keys            string
	Short           rune
	Long            string
	Value           bool
	DefaultValue    bool
	Description     string
	IsRatesModule   bool
	IsBrokersModule bool
	ModuleName      string
}

BoolVarP -

type IntVar

type IntVar struct {
	Keys            string
	Long            string
	Value           int
	DefaultValue    int
	Description     string
	IsRatesModule   bool
	IsBrokersModule bool
	ModuleName      string
}

IntVar -

type StringVar

type StringVar struct {
	Keys            string
	Long            string
	Value           string
	DefaultValue    string
	Description     string
	IsRatesModule   bool
	IsBrokersModule bool
	ModuleName      string
}

StringVar -

Jump to

Keyboard shortcuts

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