Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StringVar (1.69 sec)

  1. src/cmd/compile/internal/types2/check_test.go

    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    	if err := parseFlags(srcs[0], flags); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/cmd/doc/main.go

    // do is the workhorse, broken out of main to make testing easier.
    func do(writer io.Writer, flagSet *flag.FlagSet, args []string) (err error) {
    	flagSet.Usage = usage
    	unexported = false
    	matchCase = false
    	flagSet.StringVar(&chdir, "C", "", "change to `dir` before running command")
    	flagSet.BoolVar(&unexported, "u", false, "show unexported symbols as well as exported")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/vendor.go

    var vendorO string // if set, overrides the default output directory
    
    func init() {
    	cmdVendor.Flag.BoolVar(&cfg.BuildV, "v", false, "")
    	cmdVendor.Flag.BoolVar(&vendorE, "e", false, "")
    	cmdVendor.Flag.StringVar(&vendorO, "o", "", "")
    	base.AddChdirFlag(&cmdVendor.Flag)
    	base.AddModCommonFlags(&cmdVendor.Flag)
    }
    
    func runVendor(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    	flag.BoolVar(&t.race, "race", false, "run in race builder mode (different set of tests)")
    	flag.BoolVar(&t.compileOnly, "compile-only", false, "compile tests, but don't run them")
    	flag.StringVar(&t.banner, "banner", "##### ", "banner prefix; blank means no section banners")
    	flag.StringVar(&t.runRxStr, "run", "",
    		"run only those tests matching the regular expression; empty means to run all. "+
    			"Special exception: if the string begins with '!', the match is inverted.")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top