Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for goVERSION (0.38 sec)

  1. src/cmd/fix/main_test.go

    					// information to accurately correlate with the stderr output.
    				} else {
    					t.Parallel()
    				}
    			} else {
    				old := *goVersion
    				*goVersion = tt.Version
    				defer func() {
    					*goVersion = old
    				}()
    			}
    
    			// Apply fix: should get tt.Out.
    			out, fixed, ok := parseFixPrint(t, tt.Fn, tt.Name, tt.In, true)
    			if !ok {
    				return
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. istioctl/pkg/install/k8sversion/version.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package k8sversion
    
    import (
    	"fmt"
    
    	goversion "github.com/hashicorp/go-version"
    	"k8s.io/apimachinery/pkg/version"
    
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    	pkgVersion "istio.io/istio/pkg/version"
    )
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 02:07:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_init_path.txt

    cmpenv go.work $WORK/go.work.want
    
    -- go.mod --
    module example
    go 1.18
    -- dir/go.mod --
    module example
    go 1.18
    -- dir/foo/bar/go.mod --
    module example
    go 1.18
    -- $WORK/go.work.want --
    go $goversion
    
    use (
    	.
    	..
    	./foo/bar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 571 bytes
    - Viewed (0)
  4. src/cmd/fix/buildtag.go

    var buildtagFix = fix{
    	name: "buildtag",
    	date: "2021-08-25",
    	f:    buildtag,
    	desc: `Remove +build comments from modules using Go 1.18 or later`,
    }
    
    func buildtag(f *ast.File) bool {
    	if version.Compare(*goVersion, buildtagGoVersionCutoff) < 0 {
    		return false
    	}
    
    	// File is already gofmt-ed, so we know that if there are +build lines,
    	// they are in a comment group that starts with a //go:build line followed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go

    	// since at that time the go directive wasn't clearly
    	// specified as a toolchain requirement.
    	//
    	// TODO(adonovan): after go1.21, call GoVersion directly.
    	pkgVersion := any(pass.Pkg).(interface{ GoVersion() string }).GoVersion()
    	if !versions.AtLeast(pkgVersion, "go1.21") {
    		return nil, nil
    	}
    
    	// disallowedSymbols returns the set of standard library symbols
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work_edit.txt

    env GOWORK=$GOPATH/src/unformatted
    go work edit -print -fmt
    cmp stdout $GOPATH/src/formatted
    
    -- m/go.mod --
    module m
    
    go 1.18
    -- go.work.want_initial --
    go $goversion
    
    use ./m
    -- go.work.want_use_n --
    go $goversion
    
    use (
    	./m
    	./n
    )
    -- go.work.want_go_118 --
    go 1.18
    
    use (
    	./m
    	./n
    )
    -- go.work.want_dropuse_m --
    go 1.18
    
    use ./n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/proginfo.go

    // version of the form "v1.2.3". Go versions may also include spaces and
    // special characters.
    func ProgramInfo(info *debug.BuildInfo) (goVers, progPath, progVers string) {
    	goVers = info.GoVersion
    	if strings.Contains(goVers, "devel") || strings.Contains(goVers, "-") {
    		goVers = "devel"
    	}
    
    	progPath = info.Path
    	if progPath == "" {
    		progPath = strings.TrimSuffix(filepath.Base(os.Args[0]), ".exe")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:09:33 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/env_write.txt

    ! stderr .+
    
    # go env -w rejects unknown or bad variables
    ! go env -w GOGC=off
    stderr 'unknown go command variable GOGC'
    ! go env -w GOEXE=.bat
    stderr 'GOEXE cannot be modified'
    ! go env -w GOVERSION=customversion
    stderr 'GOVERSION cannot be modified'
    ! go env -w GOENV=/env
    stderr 'GOENV can only be set using the OS environment'
    ! go env -w GODEBUG=gctrace=1
    stderr 'GODEBUG can only be set using the OS environment'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. .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)
Back to top