Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 5,293 for Example (0.2 sec)

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

    stderr '^pattern ./noread/...: '
    
    
    # Check module-prefix patterns.
    
    ! go list example.com/...
    ! stdout '^example.com/noread$'
    ! stderr 'matched no packages'
    stderr '^pattern example.com/...: '
    
    ! go list example.com/noread/...
    ! stdout '^example.com/noread$'
    ! stderr 'matched no packages'
    stderr '^pattern example.com/noread/...: '
    
    
    [short] stop
    
    # Check global patterns, which should still
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_boost.txt

    	example.net/b v0.1.0 => ./b
    	example.net/b v0.2.0 => ./b
    	example.net/c v0.1.0 => ./c1
    	example.net/c v0.2.0 => ./c2
    )
    -- go.mod.want --
    module example
    
    go 1.17
    
    require (
    	example.net/a v0.2.0-pre
    	example.net/b v0.1.0
    	example.net/c v0.2.0
    )
    
    replace (
    	example.net/a v0.1.0 => ./a1
    	example.net/a v0.2.0-pre => ./a2p
    	example.net/b v0.1.0 => ./b
    	example.net/b v0.2.0 => ./b
    	example.net/c v0.1.0 => ./c1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    		gvk         schema.GroupVersionKind
    		expectedObj runtime.Object
    	}{
    		"convert example#Pod to example/v1#Pod": {
    			obj: &example.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "pod1",
    					Labels: map[string]string{
    						"key": "value",
    					},
    				},
    				Spec: example.PodSpec{
    					RestartPolicy: example.RestartPolicy("never"),
    				},
    			},
    			gvk: examplev1.SchemeGroupVersion.WithKind("Pod"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_vendor_auto.txt

    example.com/version
    -- $WORK/modules-bad-1.13.txt --
    # example.com/printversion v1.1.0
    example.com/printversion
    # example.com/version v1.1.0
    example.com/version
    -- $WORK/auto/vendor/example.com/printversion/go.mod --
    module example.com/printversion
    
    require example.com/version v1.0.0
    replace example.com/version v1.0.0 => ../oops v0.0.0
    exclude example.com/version v1.0.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_get_issue65363.txt

    ! go get -v example.net/a@v0.1.0
    ! stderr panic
    stderr 'example.net/d@v0.1.0 requires\n\texample.net/invalid'
    
    -- go.mod --
    module example
    
    replace (
    	example.net/a v0.1.0 => ./a
    	example.net/b v0.1.0 => ./b1
    	example.net/b v0.2.0 => ./b2
    	example.net/c v0.1.0 => ./c1
    	example.net/c v0.2.0 => ./c2
    	example.net/d v0.1.0 => ./d
    )
    
    require (
    	example.net/b v0.1.0
    )
    -- a/go.mod --
    module example.net/a
    
    go 1.18
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_go_version_missing.txt

    
    -- go.mod --
    module example.com/m
    
    require example.com/dep v0.1.0
    
    replace (
    	example.com/dep v0.1.0 => ./dep
    	example.com/testdep v0.1.0 => ./testdep
    )
    -- go.mod.untidy --
    module example.com/m
    
    go $goversion
    
    require example.com/dep v0.1.0
    
    require example.com/testdep v0.1.0 // indirect
    
    replace (
    	example.com/dep v0.1.0 => ./dep
    	example.com/testdep v0.1.0 => ./testdep
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_load_badchain.txt

    	        but was required as: example.com/badchain/c
    -- list-expected --
    go: example.com/badchain/a@v1.1.0 requires
    	example.com/badchain/b@v1.1.0 requires
    	example.com/badchain/c@v1.1.0: parsing go.mod:
    	module declares its path as: badchain.example.com/c
    	        but was required as: example.com/badchain/c
    -- list-missing-expected --
    go: finding module for package example.com/badchain/c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_replaced.txt

    cp go.mod.orig go.mod
    
    ! go list example
    stderr '^package example is not in std \(.*\)$'
    ! go get example
    stderr '^go: malformed module path "example": missing dot in first path element$'
    
    go mod edit -replace example@v0.1.0=./example
    
    ! go list example
    stderr '^module example provides package example and is replaced but not required; to add it:\n\tgo get example@v0.1.0$'
    
    go get example
    go list -m example
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_convergence.txt

    stderr '^go: example\.net/m imports\n\texample\.net/x: package example\.net/x provided by example\.net/x at latest version v0\.1\.0 but not at required version v0\.2\.0-pre$'
    
    go get example.net/x@v0.1.0 example.net/y@v0.1.0
    go mod tidy
    cmp go.mod go.mod.postget-117
    
    
    -- go.mod --
    module example.net/m
    
    go 1.16
    
    replace (
    	example.net/x v0.1.0 => ./x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    go install example.com/cmd/a@v1.0.0 example.com/cmd/nomatch...@v1.0.0
    stderr '^go: warning: "example.com/cmd/nomatch\.\.\." matched no packages$'
    
    # If a wildcard matches only non-main packages, we should see a different warning.
    go install example.com/cmd/err...@v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top