Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 365 for gopark (0.12 sec)

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

    # Relative imports in go test
    env GO111MODULE=off # relative import not supported in module mode
    
    # Run tests outside GOPATH.
    env GOPATH=$WORK/tmp
    
    go test ./testimport
    stdout '^ok'
    
    -- testimport/p.go --
    package p
    
    func F() int { return 1 }
    -- testimport/p1/p1.go --
    package p1
    
    func F() int { return 1 }
    -- testimport/p_test.go --
    package p
    
    import (
    	"./p1"
    
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 443 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_support_buildx.txt

    # This test checks that "go mod tidy -x" print
    # commands tidy executes.
    # Verifies golang.org/issue/35849
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod tidy
    ! stderr 'get '$GOPROXY
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod tidy -x
    stderr 'get '$GOPROXY
    
    -- go.mod --
    module example.com/mod
    
    -- a.go --
    package mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:40 UTC 2022
    - 360 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/goroot_executable_trimpath.txt

    go build -trimpath -o $WORK/new/bin/go$GOEXE cmd/go &
    go build -trimpath -o $WORK/bin/check$GOEXE check.go &
    wait
    
    env TESTGOROOT=$GOROOT
    env GOROOT=
    
    # Unset GOPATH and any variables that its default may be derived from,
    # so that we can check for a spurious warning.
    env GOPATH=
    env HOME=''
    env USERPROFILE=''
    env home=''
    
    # Relocated Executable
    # Since we built with -trimpath and the binary isn't installed in a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. Makefile

    	@echo "Installing minio binary with -race to '$(GOPATH)/bin/minio'"
    	@mkdir -p $(GOPATH)/bin && cp -af $(PWD)/minio $(GOPATH)/bin/minio
    
    install: build ## builds minio and installs it to $GOPATH/bin.
    	@echo "Installing minio binary to '$(GOPATH)/bin/minio'"
    	@mkdir -p $(GOPATH)/bin && cp -af $(PWD)/minio $(GOPATH)/bin/minio
    	@echo "Installation successful. To learn more, try \"minio --help\"."
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/run.rc

    rfork e
    
    if(! test -f ../bin/go){
    	echo 'run.rc must be run from $GOROOT/src after installing cmd/go' >[1=2]
    	exit wrongdir
    }
    
    GOENV=off
    eval `{../bin/go tool dist env}
    
    GOPATH=/nonexist-gopath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 406 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_sumdb_file_path.txt

    # using the download cache as a proxy.
    cp supported $GOPATH/pkg/mod/cache/download/sumdb/sum.golang.org/supported
    [GOOS:windows] env GOPROXY=file:///$WORK/gopath1/pkg/mod/cache/download,file:///$WORK/sumproxy
    [!GOOS:windows] env GOPROXY=file://$WORK/gopath1/pkg/mod/cache/download,file://$WORK/sumproxy
    env GOPATH=$WORK/gopath2
    rm go.sum
    go get -x -v golang.org/x/text@v0.3.2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. hack/jenkins/test-dockerized.sh

    # kubekins-test container with a kubernetes repo mapped in. See
    # k8s.io/test-infra/scenarios/kubernetes_verify.py
    
    export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
    
    # Until all GOPATH references are removed from all build scripts as well,
    # explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt

    ## workspace
    # example.com/p v1.0.0 => ./p
    ## go 1.21
    # example.com/q v1.0.0 => ./q
    ## explicit; go 1.21
    -- required_but_not_explicit_error.txt --
    go: inconsistent vendoring in $GOPATH${/}src:
    	example.com/p@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    
    	To ignore the vendor directory, use -mod=readonly or -mod=mod.
    	To sync the vendor directory, run:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/addmod.go

    		out, err := cmd.Output()
    		if err != nil {
    			fatalf("%s %s: %v\n%s", command, strings.Join(args, " "), err, stderr.Bytes())
    		}
    		return string(out)
    	}
    
    	gopath := strings.TrimSpace(run("go", "env", "GOPATH"))
    	if gopath == "" {
    		fatalf("cannot find GOPATH")
    	}
    
    	exitCode := 0
    	for _, arg := range flag.Args() {
    		if err := os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte("module m\n"), 0666); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_dedup_packages.txt

    mkdir $WORK/tmp/testdata/src/xtestonly
    cp f.go $WORK/tmp/testdata/src/xtestonly/f.go
    cp f_test.go $WORK/tmp/testdata/src/xtestonly/f_test.go
    env GOPATH=$WORK/tmp/testdata
    cd $WORK
    
    # Check output of go list to ensure no duplicates
    go list xtestonly ./tmp/testdata/src/xtestonly/...
    cmp stdout $WORK/gopath/src/wantstdout
    
    -- wantstdout --
    xtestonly
    -- f.go --
    package xtestonly
    
    func F() int { return 42 }
    -- f_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 613 bytes
    - Viewed (0)
Back to top