Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 365 for gopark (0.16 sec)

  1. src/cmd/go/testdata/script/mod_update_sum_readonly.txt

    go list -m -versions rsc.io/breaker
    stdout '^rsc.io/breaker v1.0.0 v2.0.0\+incompatible$'
    go mod download rsc.io/breaker@v1.0.0
    ! grep '^go' $GOPATH/pkg/mod/cache/download/rsc.io/breaker/@v/v1.0.0.mod
    go mod download rsc.io/breaker@v2.0.0+incompatible
    ! grep '^go' $GOPATH/pkg/mod/cache/download/rsc.io/breaker/@v/v2.0.0+incompatible.mod
    
    # Delete downloaded .zip files.
    go clean -modcache
    
    # Check for updates.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 27 22:01:54 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    go install rsc.io/fortune@v1.0.0
    stderr '^go: found rsc.io/quote in rsc.io/quote v1.5.2$'
    exists $GOPATH/bin/fortune$GOEXE
    ! exists $GOPATH/pkg/mod/rsc.io/fortune@v1.0.0/go.mod # no go.mod file
    go version -m $GOPATH/bin/fortune$GOEXE
    stdout '^\tdep\trsc.io/quote\tv1.5.2\t' # latest version of fortune's dependency
    rm $GOPATH/bin
    
    
    # 'go install dir@version' works like a normal 'go install' command if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/go/main.go

    	}
    
    	// Diagnose common mistake: GOPATH==GOROOT.
    	// This setting is equivalent to not setting GOPATH at all,
    	// which is not what most people want when they do it.
    	if gopath := cfg.BuildContext.GOPATH; filepath.Clean(gopath) == filepath.Clean(cfg.GOROOT) {
    		fmt.Fprintf(os.Stderr, "warning: GOPATH set to GOROOT (%s) has no effect\n", gopath)
    	} else {
    		for _, p := range filepath.SplitList(gopath) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_nowork.txt

    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work use .
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work edit
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work edit -go=1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 783 bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //
    // If the environment variable is unset, GOPATH defaults
    // to a subdirectory named "go" in the user's home directory
    // ($HOME/go on Unix, %USERPROFILE%\go on Windows),
    // unless that directory holds a Go distribution.
    // Run "go env GOPATH" to see the current GOPATH.
    //
    // See https://golang.org/wiki/SettingGOPATH to set a custom GOPATH.
    //
    // Each directory listed in GOPATH must have a prescribed structure:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_sumdb_proxy.txt

    cp go.mod.orig go.mod
    go get rsc.io/fortune@v1.0.0 # note: must use test proxy, does not exist in real world
    rm $GOPATH/pkg/mod/cache/download/sumdb # rm sumdb cache but NOT package download cache
    rm go.sum
    
    # can fetch by explicit URL
    cp go.mod.orig go.mod
    env GOSUMDB=$sumdb' '$proxy/sumdb-direct
    go get rsc.io/fortune@v1.0.0
    rm $GOPATH/pkg/mod/cache/download/sumdb
    rm go.sum
    
    # direct access fails (because localhost.localdev does not exist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/install_move_not_stale.txt

    [short] skip
    
    go build net
    ! stale net
    
    symlink new -> $GOROOT
    env OLDGOROOT=$GOROOT
    env GOROOT=$WORK${/}gopath${/}src${/}new
    go env GOROOT
    stdout $WORK[\\/]gopath[\\/]src[\\/]new
    cd new
    ! stale net
    
    # Add a control case to check that std is
    # stale with an empty cache
    env GOCACHE=$WORK${/}gopath${/}cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:51:12 UTC 2022
    - 625 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    exec ./example.test.exe -test.v
    stdout '^GOROOT '$TESTGO_GOROOT'$'
    stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
    
    ! exec ./example.test-trimpath.exe -test.v
    stdout '^GOROOT $'
    stderr 'cannot find package "runtime" in any of:\n\t\(\$GOROOT not set\)\n\t'$WORK${/}gopath${/}src${/}runtime' \(from \$GOPATH\)$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_cache_arch_mode.txt

    # Issue 9737: verify that GOARM affects the computed build ID
    
    [short] skip
    
    # arm
    env GOOS=linux
    env GOARCH=arm
    env GOARM=5
    go install mycmd
    env GOARM=7
    stale mycmd
    
    
    -- go.mod --
    module mycmd
    
    go 1.16
    -- x.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 02 08:52:16 UTC 2020
    - 243 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_sum_readonly.txt

    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod
    ! exists go.sum
    
    # If go.sum exists but contains hashes from an algorithm we don't know about,
    # we should see the same error.
    cp go.sum.h2only go.sum
    ! go list -m all
    stderr '^go: rsc.io/quote@v1.5.2: missing go.sum entry for go.mod file; to add it:\n\tgo mod download rsc.io/quote$'
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 15:42:09 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top