go/src/cmd/go/internal/base/flag.go

type StringsFlag

func (v *StringsFlag) Set(s string) error {}

func (v *StringsFlag) String() string {}

type explicitStringFlag

func (f explicitStringFlag) String() string {}

func (f explicitStringFlag) Set(v string) error {}

// AddBuildFlagsNX adds the -n and -x build flags to the flag set.
func AddBuildFlagsNX(flags *flag.FlagSet) {}

// AddChdirFlag adds the -C flag to the flag set.
func AddChdirFlag(flags *flag.FlagSet) {}

// AddModFlag adds the -mod build flag to the flag set.
func AddModFlag(flags *flag.FlagSet) {}

// AddModCommonFlags adds the module-related flags common to build commands
// and 'go mod' subcommands.
func AddModCommonFlags(flags *flag.FlagSet) {}

func ChdirFlag(s string) error {}