flag

package
v0.0.0-...-4bf4b70 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package flag wraps flag primitives.

Index

Constants

View Source
const ContinueOnError = flag.ContinueOnError

ContinueOnError is an alias for flag.ContinueOnError.

Variables

View Source
var (
	Bool        = flag.Bool
	CommandLine = flag.CommandLine
	Int         = flag.Int
	NewFlagSet  = flag.NewFlagSet
	Parse       = flag.Parse
	String      = flag.String
	Uint        = flag.Uint
	Var         = flag.Var
)

Aliases for flag functions.

Functions

func Get

func Get(v flag.Value) interface{}

Get returns the flag's underlying object.

Types

type FlagSet

type FlagSet = flag.FlagSet

FlagSet is an alias for flag.FlagSet.

Jump to

Keyboard shortcuts

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