Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 355 for gopack (0.14 sec)

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

    ! go mod tidy
    stderr '^go: warning: ignoring go.mod in \$GOPATH'
    stderr '^go: go.mod file not found in current directory or any parent directory; see ''go help modules'''
    
    go env
    stdout 'GOPATH='
    stderr '^go: warning: ignoring go.mod in \$GOPATH'
    
    -- $GOPATH/go.mod --
    module bug
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:56:44 UTC 2023
    - 288 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testlife/life_test.go

    	os.Exit(testMain(m))
    }
    
    func testMain(m *testing.M) int {
    	GOPATH, err := os.MkdirTemp("", "cgolife")
    	if err != nil {
    		log.Panic(err)
    	}
    	defer os.RemoveAll(GOPATH)
    	os.Setenv("GOPATH", GOPATH)
    
    	// Copy testdata into GOPATH/src/cgolife, along with a go.mod file
    	// declaring the same path.
    	modRoot := filepath.Join(GOPATH, "src", "cgolife")
    	if err := cgotest.OverlayDir(modRoot, "testdata"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 20:56:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/env_gomod_issue61455.txt

    # go env GOMOD should not trigger a toolchain download
    cd $GOPATH/mod
    go env GOMOD
    stdout mod[/\\]go.mod
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    # go env GOWORK should not trigger a toolchain download
    cd $GOPATH/work
    go env GOWORK
    stdout work[/\\]go.work
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    -- $GOPATH/mod/go.mod --
    module example.com
    
    go 1.700
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 16:05:39 UTC 2024
    - 510 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_fileproxy_vcs_missing_issue51589.txt

    # Verifies golang.org/issue/51589
    
    # download the modules first
    env GO111MODULE=on
    env GOPATH=$WORK/gopath
    cd $WORK/x
    go mod tidy
    
    # Use download cache as file:/// proxy.
    [GOOS:windows] env GOPROXY=file:///$WORK/gopath/pkg/mod/cache/download
    [!GOOS:windows] env GOPROXY=file://$WORK/gopath/pkg/mod/cache/download
    rm $WORK/gopath/pkg/mod/cache/download/golang.org/x/text/
    go mod tidy -e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 990 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_gomodcache.txt

    exists $GOPATH/pkg/sumdb
    ! exists $WORK/modcache/sumdb
    exists $WORK/modcache/cache/download/sumdb
    
    # Test that the default GOMODCACHE is $GOPATH[0]/pkg/mod
    env GOMODCACHE=
    go env GOMODCACHE
    stdout $GOPATH[/\\]pkg[/\\]mod
    go get rsc.io/quote@v1.0.0
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.0.0.info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_verify.txt

    stderr 'checksum mismatch'
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
    
    # With good go.sum, sync works.
    rm go.sum
    cp go.sum.good go.sum
    go mod tidy
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
    exists $GOPATH/pkg/mod/rsc.io/quote@v1.1.0/quote.go
    
    # go.sum should have the new checksum for go.mod
    grep '^rsc.io/quote v1.1.0/go.mod ' go.sum
    
    # verify should work
    go mod verify
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work_vendor_prune_all.txt

    go list -f '{{.Dir}}' example.com/q
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q
    go list -f '{{.Dir}}' example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    go list -f '{{.Dir}}' example.com/w
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]w
    go list -f '{{.Dir}}' example.com/z
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]z
    
    cmp $GOPATH/src/vendor/example.com/q/q.go q1_1_0/q.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/vendor_list_issue11977.txt

    package t
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx_test.go --
    package tx_test
    
    import _ "vendor.org/p"
    import _ "vendor.org/p1"
    import "testing"
    
    func TestNop(t *testing.T) {}
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx.go --
    package tx
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/p1/p1.go --
    package p1 // import "vendor.org/p1"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_gobuild_import.txt

    # GO111MODULE=off
    env GO111MODULE=off
    ! exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    
    # GO111MODULE=auto in GOPATH/src
    env GO111MODULE=auto
    exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    
    # GO111MODULE=auto outside GOPATH/src
    cd $GOPATH/other
    env GO111MODULE=auto
    exec $WORK/testimport$GOEXE other/x/y/z/w .
    stdout w2.go
    
    ! exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_overlay.txt

    # Test overlays that affect go.mod files
    
    # The go.mod file can exist only in the overlay.
    cd $WORK/gopath/src/no-go-mod
    go list -overlay overlay.json .
    stdout example.com/simple
    
    # Check content of overlaid go.mod is used.
    cd $WORK/gopath/src/overlay-go-mod
    go list -overlay overlay.json .
    stdout use.this/module/name
    
    # Check content of overlaid go.mod in a replacement module is used.
    # The go.mod in the replacement module is missing a requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
Back to top