luci: go.chromium.org/luci/common/flag Index | Files | Directories

package flag

import "go.chromium.org/luci/common/flag"

Index

Package Files

fieldslice.go int32.go int64slice.go stringslice.go

func FieldSlice Uses

func FieldSlice(f *[]googleapi.Field) flag.Value

FieldSlice returns a flag.Value which reads flags into the given []googleapi.Field pointer.

func Int32 Uses

func Int32(i *int32) flag.Value

Int32 returns a flag.Value which reads flags into the given int32 pointer.

func Int64Slice Uses

func Int64Slice(i *[]int64) flag.Value

Int64Slice returns a flag.Value which reads flags into the given []int64 pointer.

func StringSlice Uses

func StringSlice(s *[]string) flag.Value

StringSlice returns a flag.Value which reads flags into the given []string pointer.

Directories

PathSynopsis
fixflagpos
flagenumPackage flagenum is a utility package which facilitates implementation of flag.Value, json.Marshaler, and json.Unmarshaler interfaces via a string-to- value mapping.
multiflagPackage multiflag is a package providing a flag.Value implementation capable of switching between multiple registered sub-flags, each of which have their own set of parameter flags.
nestedflagset
stringlistflagPackage stringlistflag provides a flag.Value implementation which resolves multiple args into a []string.
stringmapflagPackage stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter.
stringsetflagPackage stringsetflag provides a flag.Value implementation which resolves multiple args into a stringset.

Package flag imports 5 packages (graph) and is imported by 2 packages. Updated 2018-10-19. Refresh now. Tools for package owners.