- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AddBuildFlags (0.12 sec)
-
src/cmd/go/internal/clean/clean.go
CmdClean.Flag.BoolVar(&cleanTestcache, "testcache", false, "") // -n and -x are important enough to be // mentioned explicitly in the docs but they // are part of the build flags. work.AddBuildFlags(CmdClean, work.DefaultBuildFlags) } func runClean(ctx context.Context, cmd *base.Command, args []string) { if len(args) > 0 { cacheFlag := "" switch { case cleanCache: cacheFlag = "-cache"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
if err != nil { err = errors.New("parse error") } v.value = value return err } func (b *dFlag) String() string { return "" } func init() { work.AddBuildFlags(CmdGet, work.OmitModFlag) CmdGet.Run = runGet // break init loop CmdGet.Flag.Var(&getD, "d", "") CmdGet.Flag.Var(&getU, "u", "") } func runGet(ctx context.Context, cmd *base.Command, args []string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0)