Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for contextName (0.09 sec)

  1. src/cmd/api/main_test.go

    	{GOOS: "openbsd", GOARCH: "386", CgoEnabled: true},
    	{GOOS: "openbsd", GOARCH: "386"},
    	{GOOS: "openbsd", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "openbsd", GOARCH: "amd64"},
    }
    
    func contextName(c *build.Context) string {
    	s := c.GOOS + "-" + c.GOARCH
    	if c.CgoEnabled {
    		s += "-cgo"
    	}
    	if c.Dir != "" {
    		s += fmt.Sprintf(" [%s]", c.Dir)
    	}
    	return s
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top