Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 384 for gopack (0.21 sec)

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

    # should be able to remove the module cache if the '-rf' flags are set.
    [!GOOS:windows] [exec:rm] exec rm -rf $GOPATH/pkg/mod
    [!GOOS:windows] [!exec:rm] go clean -modcache
    [GOOS:windows] [exec:cmd.exe] exec cmd.exe /c rmdir /s /q $GOPATH\pkg\mod
    [GOOS:windows] [!exec:cmd.exe] go clean -modcache
    ! exists $GOPATH/pkg/mod
    
    # The directories in the module cache should by default be unwritable,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    go build -o hello.exe .
    grep -q gopath[/\\]src hello.exe
    go run ./list-dwarf hello.exe
    stdout gopath[/\\]src
    
    # Check that the source path does not appear when -trimpath is used.
    [GOOS:aix] stop # can't inspect XCOFF binaries
    go build -trimpath -o hello.exe .
    ! grep -q gopath[/\\]src hello.exe
    go run ./list-dwarf hello.exe
    ! stdout gopath/src
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/internal/archive/archive_test.go

    			}
    			out, err = testenv.Command(t, gotool, "tool", "pack", "c", goarchive, go1obj, go2obj).CombinedOutput()
    			if err != nil {
    				return fmt.Errorf("go tool pack c %s %s %s: %v\n%s", goarchive, go1obj, go2obj, err, out)
    			}
    
    			if testenv.HasCGO() {
    				cgoarchive = filepath.Join(buildDir, "mycgo.a")
    				gopath := filepath.Join(buildDir, "gopath")
    				err = copyDir(filepath.Join(gopath, "src", "mycgo"), filepath.Join("testdata", "mycgo"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_dot.txt

    ! go get ./subdir
    stderr '^go: \.[/\\]subdir \('$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]subdir\) is not a package in module rooted at '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    ! go list
    ! stderr 'cannot find module providing package'
    stderr '^no Go files in '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    
    cd subdir
    ! go list
    ! stderr 'cannot find module providing package'
    stderr '^no Go files in '$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]subdir$'
    cd ..
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 22:30:03 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/vendor_issue12156.txt

    # Tests issue #12156, a former index out of range panic.
    
    env GO111MODULE=off
    env GOPATH=$WORK/gopath/src/testvendor2 # vendor/x is directly in $GOPATH, not in $GOPATH/src
    cd $WORK/gopath/src/testvendor2/src/p
    
    ! go build p.go
    ! stderr panic # Make sure it doesn't panic
    stderr 'cannot find package "x"'
    
    -- testvendor2/src/p/p.go --
    package p
    
    import "x"
    -- testvendor2/vendor/x/x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 398 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testgodefs/testgodefs_test.go

    	testenv.MustHaveGoRun(t)
    	testenv.MustHaveCGO(t)
    
    	testdata, err := filepath.Abs("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	gopath, err := os.MkdirTemp("", "testgodefs-gopath")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(gopath)
    
    	dir := filepath.Join(gopath, "src", "testgodefs")
    	if err := os.MkdirAll(dir, 0755); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, fp := range filePrefixes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_symlink.txt

    stdout golang.org/x/text
    
    # Create a copy of the module using symlinks in src/links.
    mkdir links
    symlink links/go.mod -> $GOPATH/src/go.mod
    symlink links/go.sum -> $GOPATH/src/go.sum
    symlink links/issue.go -> $GOPATH/src/issue.go
    mkdir links/subpkg
    symlink links/subpkg/issue.go -> $GOPATH/src/subpkg/issue.go
    
    # We should see the copy as a valid module root.
    cd links
    go env GOMOD
    stdout links[/\\]go.mod
    go list -m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. pkg/kubelet/pod/testing/mock_manager.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	types0 "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    // MockManager is a mock of Manager interface.
    type MockManager struct {
    	ctrl     *gomock.Controller
    	recorder *MockManagerMockRecorder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_invalid_path.txt

    # Test that go list fails on a go.mod with no module declaration.
    cd $WORK/gopath/src/mod
    ! go list .
    stderr '^go: error reading go.mod: missing module declaration. To specify the module path:\n\tgo mod edit -module=example.com/mod$'
    
    # Test that go mod init in GOPATH doesn't add a module declaration
    # with a path that can't possibly be a module path, because
    # it isn't even a valid import path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 02:54:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/vendor_test_issue14613.txt

    		t.Errorf("fake returned %q, expected %q", ret, expected)
    	}
    }
    
    -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/mylibtesttest/myapp/myapp_test.go --
    package myapp
    import (
       "mylibtesttest/rds"
    )
    
    -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/mylibtesttest/rds/rds.go --
    package rds
    
    -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/github.com/clsung/fake/fake.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top