Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for goVERSION (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		}
    		files = append(files, f)
    	}
    	tc := &types.Config{
    		Importer:  makeTypesImporter(cfg, fset),
    		Sizes:     types.SizesFor("gc", build.Default.GOARCH), // TODO(adonovan): use cfg.Compiler
    		GoVersion: cfg.GoVersion,
    	}
    	info := &types.Info{
    		Types:      make(map[ast.Expr]types.TypeAndValue),
    		Defs:       make(map[*ast.Ident]types.Object),
    		Uses:       make(map[*ast.Ident]types.Object),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/go/types/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: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. 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)
  4. misc/go_android_exec/main.go

    	if err != nil {
    		return err
    	}
    	cmd := exec.Command(goTool, "version")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	goVersion := string(out)
    
    	// Also known by cmd/dist. The bootstrap command deletes the file.
    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    	stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/go/build/deps_test.go

    	  internal/coverage/rtcov,
    	  internal/coverage/uleb128,
    	  internal/coverage/calloc,
    	  internal/cpu,
    	  internal/goarch,
    	  internal/godebugs,
    	  internal/goexperiment,
    	  internal/goos,
    	  internal/goversion,
    	  internal/nettrace,
    	  internal/platform,
    	  internal/profilerecord,
    	  internal/trace/traceviewer/format,
    	  log/internal,
    	  math/bits,
    	  unicode,
    	  unicode/utf8,
    	  unicode/utf16;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. api/go1.18.txt

    pkg go/types, type ArgumentError struct
    pkg go/types, type ArgumentError struct, Err error
    pkg go/types, type ArgumentError struct, Index int
    pkg go/types, type Config struct, Context *Context
    pkg go/types, type Config struct, GoVersion string
    pkg go/types, type Context struct
    pkg go/types, type Info struct, Instances map[*ast.Ident]Instance
    pkg go/types, type Instance struct
    pkg go/types, type Instance struct, Type Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. src/go/parser/parser_test.go

    	pkgs, err := ParseDir(fset, "./testdata/goversion", nil, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, p := range pkgs {
    		want := strings.ReplaceAll(p.Name, "_", ".")
    		if want == "none" {
    			want = ""
    		}
    		for _, f := range p.Files {
    			if f.GoVersion != want {
    				t.Errorf("%s: GoVersion = %q, want %q", fset.Position(f.Pos()), f.GoVersion, want)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/fetch.go

    		if data, err := os.ReadFile(filepath.Join(dir, "go.mod")); err == nil {
    			goVersion := gover.GoModLookup(data, "go")
    			if gover.Compare(goVersion, gover.Local()) > 0 {
    				return "", &gover.TooNewError{What: mod.String(), GoVersion: goVersion}
    			}
    		} else if !errors.Is(err, fs.ErrNotExist) {
    			return "", err
    		}
    
    		return dir, nil
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. api/go1.21.txt

    pkg go/ast, func NewPackage //deprecated #52463
    pkg go/ast, type File struct, GoVersion string #59033
    pkg go/ast, type Importer //deprecated #52463
    pkg go/ast, type Object //deprecated #52463
    pkg go/ast, type Package //deprecated #52463
    pkg go/ast, type Scope //deprecated #52463
    pkg go/build/constraint, func GoVersion(Expr) string #59033
    pkg go/build, type Directive struct #56986
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")},
    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    		{Name: "GODEBUG", Value: os.Getenv("GODEBUG")},
    		{Name: "GOTELEMETRY", Value: telemetry.Mode()},
    		{Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
    	}
    
    	for i := range env {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top