Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,532 for Example (0.27 sec)

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

    stdout '^example.com/b v0.3.0 '
    stdout '^example.com/c v0.2.0 '
    
    go get example.com/c@v0.1.0 example.com/b@v0.1.0
    go list -m all
    stdout '^example.com/a v0.1.0 '
    stdout '^example.com/b v0.1.0 '
    stdout '^example.com/c v0.1.0 '
    
    go mod tidy
    go list -m all
    stdout '^example.com/a v0.1.0 '
    stdout '^example.com/b v0.1.0 '
    ! stdout '^example.com/c '
    
    go get example.com/c@none
    go list -m all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_query_empty.txt

    cp go.mod.orig go.mod
    go get example.com/join/subpkg
    go list -m example.com/join/...
    ! stdout 'example.com/join/subpkg'
    stdout 'example.com/join v1.1.0'
    
    # If @v/list includes a version that the proxy does not actually serve,
    # that version is treated as nonexistent.
    env GOPROXY=file:///$WORK/notfound
    cp go.mod.orig go.mod
    go get example.com/join/subpkg
    go list -m example.com/join/...
    ! stdout 'example.com/join/subpkg'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_get_patchcycle.txt

    ! go get example.net/a@patch
    stderr '^go: example.net/a@patch \(v0.1.1\) indirectly requires example.net/a@v0.2.0, not example.net/a@patch \(v0.1.1\)$'  # TODO: A mention of b v0.1.0 would be nice.
    
    -- go.mod --
    module example
    
    go 1.16
    
    require example.net/a v0.1.0
    
    replace (
    	example.net/a v0.1.0 => ./a10
    	example.net/a v0.1.1 => ./a11
    	example.net/a v0.2.0 => ./a20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_upgrade_patch.txt

    go get -u patch.example.com/direct@patch
    go list -m all
    stdout '^patch.example.com/direct v1.0.1'
    stdout '^patch.example.com/indirect v1.1.0'
    stdout '^patch.example.com/depofdirectpatch v1.0.0'
    
    # An explicit @latest should override a general -u=patch.
    cp go.mod.orig go.mod
    go get -u=patch patch.example.com/direct@latest
    go list -m all
    stdout '^patch.example.com/direct v1.1.0'
    stdout '^patch.example.com/indirect v1.0.1'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    [exec:patch] ! exists go.sum
    
    -- go.mod --
    module example.com/m
    
    go 1.17
    
    replace (
    	example.net/added v0.1.0 => ./a1
    	example.net/added v0.2.0 => ./a2
    	example.net/added v0.3.0 => ./a1
    	example.net/lazy v0.1.0 => ./lazy
    	example.net/pruned v0.1.0 => ./pruned
    )
    
    require (
    	example.net/added v0.1.0
    	example.net/lazy v0.1.0
    )
    -- go.mod.tidy --
    module example.com/m
    
    go 1.17
    
    replace (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_list_retract.txt

    exists $GOPATH/pkg/mod/cache/download/example.com/retract/missingmod/@v/v1.9.0.info
    ! exists $GOPATH/pkg/mod/cache/download/example.com/retract/missingmod/@v/v1.9.0.mod
    
    # 'go list -m -retracted mod@version' shows retractions.
    go list -m -retracted example.com/retract@v1.0.0-unused
    stdout '^example.com/retract v1.0.0-unused \(retracted\)$'
    go list -m -retracted -f '{{with .Retracted}}retracted{{end}}' example.com/retract@v1.0.0-unused
    stdout retracted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_issue60313.txt

    cmp go.mod go.mod.orig
    
    -- go.mod --
    module example
    
    go 1.21
    
    require (
    	example.net/a v0.1.0
    	example.net/b v0.1.0
    )
    
    require example.net/outer/inner v0.1.0 // indirect
    
    replace (
    	example.net/a v0.1.0 => ./a
    	example.net/b v0.1.0 => ./b
    	example.net/outer v0.1.0 => ./outer
    	example.net/outer/inner v0.1.0 => ./inner
    )
    -- example.go --
    package example
    
    import (
    	_ "example.net/a"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 19:42:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_ambiguous_pkg.txt

    go get example.net/ambiguous/nested/pkg@v0.1.0 example.net/ambiguous/nested@none
    go list -m all
    ! stdout '^example.net/ambiguous/nested '
    stdout '^example.net/ambiguous v0.1.0$'
    
    
    # The user should also be able to fix it by *downgrading* the conflicting module
    # away.
    
    cp go.mod.orig go.mod
    go mod edit -require=example.net/ambiguous@v0.1.0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_issue60490.txt

    go get example.net/c@v0.1.0
    
    -- go.mod --
    module example
    
    go 1.19
    
    require (
    	example.net/a v0.1.0
    	example.net/b v0.1.0
    )
    
    replace (
    	example.net/a v0.1.0 => ./a1
    	example.net/a v0.2.0 => ./a2
    	example.net/b v0.1.0 => ./b1
    	example.net/b v0.2.0 => ./b2
    	example.net/c v0.1.0 => ./c1
    )
    -- a1/go.mod --
    module example.net/a
    
    go 1.19
    -- a2/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 16:18:15 UTC 2023
    - 752 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_lazy_new_import.txt

    go 1.17
    
    require example.com/a v0.1.0
    
    require example.com/b v0.1.0 // indirect
    
    replace (
    	example.com/a v0.1.0 => ./a
    	example.com/b v0.1.0 => ./b
    	example.com/c v0.1.0 => ./c1
    	example.com/c v0.2.0 => ./c2
    )
    -- go.mod.new --
    module example.com/lazy
    
    go 1.17
    
    require example.com/a v0.1.0
    
    require (
    	example.com/b v0.1.0 // indirect
    	example.com/c v0.1.0 // indirect
    )
    
    replace (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 27 23:27:52 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top