Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for goVERSION (0.34 sec)

  1. src/cmd/go/internal/modload/init.go

    				mainModule,
    				{Path: "go", Version: goVersion},
    				{Path: "toolchain", Version: gover.LocalToolchain()},
    			}
    		} else {
    			goVersion = gover.Local()
    			pruning = pruningForGoVersion(goVersion)
    			roots = []module.Version{
    				{Path: "go", Version: goVersion},
    				{Path: "toolchain", Version: gover.LocalToolchain()},
    			}
    		}
    		rawGoVersion.Store(mainModule, goVersion)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api.go

    	Context *Context
    
    	// GoVersion describes the accepted Go language version. The string must
    	// start with a prefix of the form "go%d.%d" (e.g. "go1.20", "go1.21rc1", or
    	// "go1.21.0") or it must be empty; an empty string disables Go language
    	// version checks. If the format is invalid, invoking the type checker will
    	// result in an error.
    	GoVersion string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work.txt

    go list ./b/main.go
    env GOWORK=off
    go build -n -o foo foo.go
    env GOWORK=
    go build -n -o foo foo.go
    
    -- go.work.dup --
    go 1.18
    
    use (
    	a
    	b
    	../src/a
    )
    -- go.work.want --
    go $goversion
    
    use (
    	./a
    	./b
    )
    -- go.work.d --
    go 1.18
    
    use (
    	a
    	b
    	d
    )
    -- a/go.mod --
    
    module example.com/a
    
    -- a/a.go --
    package a
    
    import "fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    		if b.IsCmdList {
    			return nil
    		}
    		return errors.New("binary-only packages are no longer supported")
    	}
    
    	if p.Module != nil && !allowedVersion(p.Module.GoVersion) {
    		return errors.New("module requires Go " + p.Module.GoVersion + " or later")
    	}
    
    	if err := b.checkDirectives(a); err != nil {
    		return err
    	}
    
    	if err := sh.Mkdir(a.Objdir); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/help/helpdoc.go

    		If module-aware mode is disabled, GOMOD will be the empty string.
    	GOTOOLDIR
    		The directory where the go tools (compile, cover, doc, etc...) are installed.
    	GOVERSION
    		The version of the installed Go tree, as reported by runtime.Version.
    	`,
    }
    
    var HelpFileType = &base.Command{
    	UsageLine: "filetype",
    	Short:     "file types",
    	Long: `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/get.go

    	r.reportChanges(oldReqs, newReqs)
    
    	if gowork := modload.FindGoWork(base.Cwd()); gowork != "" {
    		wf, err := modload.ReadWorkFile(gowork)
    		if err == nil && modload.UpdateWorkGoVersion(wf, modload.MainModules.GoVersion()) {
    			modload.WriteWorkFile(gowork, wf)
    		}
    	}
    }
    
    // parseArgs parses command-line arguments and reports errors.
    //
    // The command-line arguments are of the form path@version or simply path, with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    //	    Dir        string        // directory holding local copy of files, if any
    //	    GoMod      string        // path to go.mod file describing module, if any
    //	    GoVersion  string        // go version used in module
    //	    Retracted  []string      // retraction information, if any (with -retracted or -u)
    //	    Deprecated string        // deprecation message, if any (with -u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"buildDate": {
    						SchemaProps: spec.SchemaProps{
    							Default: "",
    							Type:    []string{"string"},
    							Format:  "",
    						},
    					},
    					"goVersion": {
    						SchemaProps: spec.SchemaProps{
    							Default: "",
    							Type:    []string{"string"},
    							Format:  "",
    						},
    					},
    					"compiler": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  9. api/openapi-spec/swagger.json

              "type": "string"
            },
            "gitTreeState": {
              "type": "string"
            },
            "gitVersion": {
              "type": "string"
            },
            "goVersion": {
              "type": "string"
            },
            "major": {
              "type": "string"
            },
            "minor": {
              "type": "string"
            },
            "platform": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top