Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for toVersion (0.1 sec)

  1. src/cmd/go/go_test.go

    	tg.grepStdout("-ffaster", "CC arguments not found")
    
    	tg.run("env", "GOVERSION")
    	envVersion := strings.TrimSpace(tg.stdout.String())
    
    	tg.run("version")
    	cmdVersion := strings.TrimSpace(tg.stdout.String())
    
    	// If 'go version' is "go version <version> <goos>/<goarch>", then
    	// 'go env GOVERSION' is just "<version>".
    	if cmdVersion == envVersion || !strings.Contains(cmdVersion, envVersion) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/go/build/build.go

    package build
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"go/ast"
    	"go/build/constraint"
    	"go/doc"
    	"go/token"
    	"internal/buildcfg"
    	"internal/godebug"
    	"internal/goroot"
    	"internal/goversion"
    	"internal/platform"
    	"io"
    	"io/fs"
    	"os"
    	"os/exec"
    	pathpkg "path"
    	"path/filepath"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  3. 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)
Back to top