Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 365 for gopark (0.16 sec)

  1. internal/arn/arn_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			gotArn, err := Parse(tt.args.arnStr)
    			if err == nil && tt.wantErr {
    				t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err != nil && !tt.wantErr {
    				t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err == nil {
    				if !reflect.DeepEqual(gotArn, tt.wantArn) {
    					t.Errorf("Parse() gotArn = %v, want %v", gotArn, tt.wantArn)
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_overlay.txt

    exec ./print_abspath$GOEXE
    stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go
    
    go build -overlay overlay.json -o print_trimpath$GOEXE -trimpath ./printpath
    exec ./print_trimpath$GOEXE
    stdout ^m[/\\]printpath[/\\]main.go
    
    go build -overlay overlay.json -o print_trimpath_two_files$GOEXE printpath/main.go printpath/other.go
    exec ./print_trimpath_two_files$GOEXE
    stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_vendor_prune.txt

    cmp vendor/example.com/q/q.go q1_1_0/q.go
    go list -m -f '{{.Version}}' example.com/q
    stdout '^v1.1.0$'
    
    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
    
    [short] skip
    
    rm b
    rm q1_0_0
    rm q1_1_0
    go run example.com/p
    stdout 'version 1.1.0'
    
    -- modules.txt.want --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. Makefile.overrides.mk

    .PHONY: $(PHONYS)
    $(PHONYS):
    	@$(MAKE_DOCKER) $@
    endif
    
    # istioctl-install builds then installs istioctl into $GOPATH/BIN
    # Used for debugging istioctl during dev work
    .PHONY: istioctl-install
    istioctl-install: istioctl-install-container
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 28 17:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. internal/logger/logger.go

    // displayed when an error happens.
    func Init(goPath string, goRoot string) {
    	var goPathList []string
    	var goRootList []string
    	var defaultgoPathList []string
    	var defaultgoRootList []string
    	pathSeparator := ":"
    	// Add all possible GOPATH paths into trimStrings
    	// Split GOPATH depending on the OS type
    	if runtime.GOOS == "windows" {
    		pathSeparator = ";"
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/list_replace_absolute_windows.txt

    //go:build ignore
    package main
    
    import (
        "fmt"
        "os"
    )
    
    func main() {
        work := os.Getenv("WORK")
    fmt.Printf(`module example.com/mod
    
    require b.com v0.0.0
    
    replace b.com => %s\gopath\src/modb
    `,  work)
    }
    -- a.go --
    package a
    
    import _ "b.com/b"
    -- modb/go.mod --
    module b.com
    -- modb/b/b.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 693 bytes
    - Viewed (0)
  7. src/go/build/build.go

    		} else {
    			paths = append(paths, "\t($GOROOT not set)")
    		}
    		format = "\t%s (from $GOPATH)"
    		for _, dir := range tried.gopath {
    			paths = append(paths, fmt.Sprintf(format, dir))
    			format = "\t%s"
    		}
    		if len(tried.gopath) == 0 {
    			paths = append(paths, "\t($GOPATH not set. For more details see: 'go help gopath')")
    		}
    		return p, fmt.Errorf("cannot find package %q in any of:\n%s", path, strings.Join(paths, "\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/gopath_local.txt

    env GO111MODULE=off  # Relative imports only work in GOPATH mode.
    
    [short] skip
    
    # Imports should be resolved relative to the source file.
    go build testdata/local/easy.go
    exec ./easy$GOEXE
    stdout '^easysub\.Hello'
    
    # Ignored files should be able to import the package built from
    # non-ignored files in the same directory.
    go build -o easysub$GOEXE testdata/local/easysub/main.go
    exec ./easysub$GOEXE
    stdout '^easysub\.Hello'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/doc/dirs.go

    				}
    				d.scan <- Dir{importPath, dir, root.inModule}
    			}
    		}
    
    	}
    }
    
    var testGOPATH = false // force GOPATH use for testing
    
    // codeRoots returns the code roots to search for packages.
    // In GOPATH mode this is GOROOT/src and GOPATH/src, with empty import paths.
    // In module mode, this is each module root, with an import path set to its module path.
    func codeRoots() []Dir {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. src/cmd/nm/nm_test.go

    func testGoLib(t *testing.T, iscgo bool) {
    	t.Parallel()
    	tmpdir, err := os.MkdirTemp("", "TestGoLib")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(tmpdir)
    
    	gopath := filepath.Join(tmpdir, "gopath")
    	libpath := filepath.Join(gopath, "src", "mylib")
    
    	err = os.MkdirAll(libpath, 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    	src := filepath.Join(libpath, "a.go")
    	file, err := os.Create(src)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top