Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for goVERSION (0.27 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/internal/workcmd/sync.go

    				SilenceMissingStdImports: true,
    				SilencePackageErrors:     true,
    			}, "all")
    			modload.WriteGoMod(ctx, modload.WriteOpts{})
    		}
    		goV = gover.Max(goV, modload.MainModules.GoVersion())
    	}
    
    	wf, err := modload.ReadWorkFile(workFilePath)
    	if err != nil {
    		base.Fatal(err)
    	}
    	modload.UpdateWorkGoVersion(wf, goV)
    	modload.UpdateWorkFile(wf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/go/ast/example_test.go

    	//     54  .  .  .  "main": *(obj @ 11)
    	//     55  .  .  }
    	//     56  .  }
    	//     57  .  Unresolved: []*ast.Ident (len = 1) {
    	//     58  .  .  0: *(obj @ 29)
    	//     59  .  }
    	//     60  .  GoVersion: ""
    	//     61  }
    }
    
    func ExamplePreorder() {
    	src := `
    package p
    
    func f(x, y int) {
    	print(x + y)
    }
    `
    
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	}
    	info, ok := debug.ReadBuildInfo()
    	if !ok {
    		return nil, fmt.Errorf("no build info")
    	}
    	year, month, day := time.Now().UTC().Date()
    	goVers := info.GoVersion
    	// E.g.,  goVers:"go1.22-20240109-RC01 cl/597041403 +dcbe772469 X:loopvar"
    	words := strings.Fields(goVers)
    	goVers = words[0]
    	progPkgPath := info.Path
    	if progPkgPath == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/errors.go

    	err := check.newError(code)
    	err.addf(at, format, args...)
    	err.soft = true
    	err.report()
    }
    
    func (check *Checker) versionErrorf(at poser, v goVersion, format string, args ...any) {
    	msg := check.sprintf(format, args...)
    	err := check.newError(UnsupportedFeature)
    	err.addf(at, "%s requires %s or later", msg, v)
    	err.report()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/cmd/go/scriptreadme_test.go

    	TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT>
    	HOME=/no-home
    	PATH=<actual PATH>
    	TMPDIR=$WORK/tmp
    	GODEBUG=<actual GODEBUG>
    	devnull=<value of os.DevNull>
    	goversion=<current Go version; for example, 1.12>
    
    On Plan 9, the variables $path and $home are set instead of $PATH and $HOME.
    On Windows, the variables $USERPROFILE and $TMP are set instead of
    $HOME and $TMPDIR.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/go/types/errors.go

    	err := check.newError(code)
    	err.addf(at, format, args...)
    	err.soft = true
    	err.report()
    }
    
    func (check *Checker) versionErrorf(at positioner, v goVersion, format string, args ...any) {
    	msg := check.sprintf(format, args...)
    	err := check.newError(UnsupportedFeature)
    	err.addf(at, "%s requires %s or later", msg, v)
    	err.report()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/nodes.go

    // Files
    
    // package PkgName; DeclList[0], DeclList[1], ...
    type File struct {
    	Pragma    Pragma
    	PkgName   *Name
    	DeclList  []Decl
    	EOF       Pos
    	GoVersion string
    	node
    }
    
    // ----------------------------------------------------------------------------
    // Declarations
    
    type (
    	Decl interface {
    		Node
    		aDecl()
    	}
    
    	//              Path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/debug/gosym/pclntab_test.go

    func TestSymVersion(t *testing.T) {
    	skipIfNotELF(t)
    
    	table := getTable(t)
    	if table.go12line == nil {
    		t.Skip("not relevant to Go 1.2+ symbol table")
    	}
    	for _, fn := range table.Funcs {
    		if fn.goVersion == verUnknown {
    			t.Fatalf("unexpected symbol version: %v", fn)
    		}
    	}
    }
    
    // read115Executable returns a hello world executable compiled by Go 1.15.
    //
    // The file was compiled in /tmp/hello.go:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top