Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 194 for GoVersion (0.45 sec)

  1. src/cmd/go/internal/modinfo/info.go

    	Dir        string           `json:",omitempty"` // directory holding local copy of files, if any
    	GoMod      string           `json:",omitempty"` // path to go.mod file describing module, if any
    	GoVersion  string           `json:",omitempty"` // go version used in module
    	Retracted  []string         `json:",omitempty"` // retraction information, if any (with -retracted or -u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/debug/gosym/symtab.go

    	// they do not belong to any package.
    	//
    	// See cmd/compile/internal/base/link.go:ReservedImports variable.
    	if s.goVersion >= ver120 && (strings.HasPrefix(name, "go:") || strings.HasPrefix(name, "type:")) {
    		return ""
    	}
    
    	// For go1.18 and below, the prefix are "type." and "go." instead.
    	if s.goVersion <= ver118 && (strings.HasPrefix(name, "go.") || strings.HasPrefix(name, "type.")) {
    		return ""
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    	goversion := fmt.Sprintf("go1.%d", goversion.Version)
    	for _, v := range []string{
    		goversion,
    		goversion + ".0",
    		goversion + ".1",
    		goversion + ".rc",
    	} {
    		conf := Config{GoVersion: v}
    		pkg := mustTypecheck("package p", &conf, nil)
    		if pkg.GoVersion() != conf.GoVersion {
    			t.Errorf("got %s; want %s", pkg.GoVersion(), conf.GoVersion)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. 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)
  5. .github/ISSUE_TEMPLATE/00-bug.yml

            GOPROXY="https://proxy.golang.org,direct"
            GOROOT="/usr/local/go"
            GOSUMDB="sum.golang.org"
            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_retention.txt

    )
    -- go.mod.nogo --
    module m
    
    require (
    	rsc.io/quote v1.5.2
    	rsc.io/sampler v1.3.0 // indirect
    	rsc.io/testonly v1.0.0 // indirect
    )
    -- go.mod.addedgo --
    module m
    
    go $goversion
    
    require rsc.io/quote v1.5.2
    
    require (
    	golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
    	rsc.io/sampler v1.3.0 // indirect
    	rsc.io/testonly v1.0.0 // indirect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_graph_version.txt

    
    # Unsupported go versions should be rejected, since we don't know
    # what versions they would report.
    ! go mod graph -go=1.99999999999
    stderr '^invalid value "1\.99999999999" for flag -go: maximum supported Go version is '$goversion'\nusage: go mod graph \[-go=version\] \[-x\]\nRun ''go help mod graph'' for details.$'
    
    
    -- go.mod --
    // Module m indirectly imports a package from
    // example.com/retract/incompatible. Its selected version of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. hack/verify-vendor.sh

      hack/update-vendor.sh
    popd > /dev/null 2>&1
    
    ret=0
    
    pushd "${KUBE_ROOT}" > /dev/null 2>&1
      # Test for diffs
      if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' go.mod "${_kubetmp}/go.mod")"; then
        echo "Your go.mod file is different:" >&2
        echo "${_out}" >&2
        echo "Vendor Verify failed." >&2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/dist/build.go

    	//
    	// Note that we lightly parse internal/goversion/goversion.go to
    	// obtain the base version. We can't just import the package,
    	// because cmd/dist is built with a bootstrap GOROOT which could
    	// be an entirely different version of Go. We assume
    	// that the file contains "const Version = <Integer>".
    	goversionSource := readfile(pathf("%s/src/internal/goversion/goversion.go", goroot))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  10. 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)
Back to top