Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 335 for 118 (0.02 sec)

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

    # Don't check sums for other modules in the workspace.
    
    cd m/sub
    go install -n
    
    -- go.work --
    go 1.18
    
    use (
        ./m
        ./m/sub
    )
    -- m/go.mod --
    module example.com/m
    
    go 1.18
    
    -- m/m.go --
    package m
    
    func M() {}
    -- m/sub/go.mod --
    module example.com/m/sub
    
    go 1.18
    
    require example.com/m v1.0.0
    -- m/sub/main.go --
    package main
    
    import "example.com/m"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 19:35:14 UTC 2022
    - 435 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_use.txt

    go mod edit -C other -module=other
    go work use other
    cmp go.work go.want_work_other
    -- go.work --
    go 1.18
    
    use (
    	foo
    	foo/bar // doesn't exist
    )
    -- go.want_work_r --
    go 1.18
    
    use (
    	./foo
    	./foo/bar/baz
    )
    -- go.want_work_other --
    go 1.18
    
    use (
    	./foo
    	./foo/bar/baz
    	./other
    )
    -- foo/go.mod --
    module foo
    -- foo/bar/baz/go.mod --
    module baz
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 504 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_sum_mismatch.txt

    The bits may have been replaced on the origin server, or an attacker may
    have intercepted the download attempt.
    
    For more information, see 'go help module-auth'.
    -- go.work --
    go 1.18
    
    use ./a
    use ./b
    -- a/go.mod --
    go 1.18
    
    module example.com/hi
    
    require "rsc.io/quote" v1.5.2
    -- a/go.sum --
    rsc.io/sampler v1.3.0 h1:HLGR/BgEtI3r0uymSP/nl2uPLsUnNJX8toRyhfpBTII=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_why_download_graph.txt

    -- go.work --
    go 1.18
    
    use (
    	./a
    	./b
    )
    -- a/go.mod --
    go 1.18
    
    module example.com/a
    
    require "rsc.io/quote" v1.5.2
    -- a/main.go --
    package main
    
    import (
    	"fmt"
    	"rsc.io/quote"
    )
    
    func main() {
    	fmt.Println(quote.Hello())
    }
    -- b/go.mod --
    go 1.18
    
    module example.com/b
    
    require example.com/c v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/work_build_no_modules.txt

    ! go build .
    stderr 'go: no modules were found in the current workspace; see ''go help work'''
    
    -- go.work --
    go 1.18
    -- go.mod --
    go 1.18
    
    module foo
    -- foo.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:53:57 UTC 2021
    - 192 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/mod/example.com_generics_v1.0.0.txt

    example.com/generics v1.0.0
    written by hand
    
    -- .mod --
    module example.com/generics
    
    go 1.18
    -- .info --
    {"Version":"v1.0.0"}
    -- go.mod --
    module example.com/generics
    
    go 1.18
    -- generics.go --
    package generics
    
    type Int interface {
    	~int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 20:37:36 UTC 2022
    - 255 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work_gowork.txt

    env GOWORK=doesnotexist
    ! go list a
    ! stderr panic
    
    env GOWORK=$GOPATH/src/stop.work
    go list -n a
    go build -n a
    go test -n a
    
    -- stop.work --
    go 1.18
    
    use ./a
    -- a/a.go --
    package a
    -- a/a_test.go --
    package a
    -- a/go.mod --
    module a
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 314 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_module_not_in_go_work.txt

    ! go run .
    stderr 'current directory outside modules listed in go.work or their selected dependencies'
    
    -- go.work --
    go 1.18
    
    use ./b
    -- a/go.mod --
    module example.com/a
    
    go 1.18
    -- a/a.go --
    package a
    -- a/c/c.go --
    package main
    -- b/go.mod --
    module example.com/b
    
    go 1.18
    -- foo.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 18:09:53 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/work_sync_missing_module.txt

    # Ensure go work sync works without any modules in go.work.
    go work sync
    
    # Ensure go work sync works even without a go.mod file.
    rm go.mod
    go work sync
    
    -- go.work --
    go 1.18
    -- go.mod --
    go 1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 15:54:11 UTC 2021
    - 208 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_regression_hang.txt

    go 1.16
    
    use (
    	./a
    )
    -- a/go.mod --
    module example.com/a
    
    go 1.18
    
    require example.com/b v1.0.0
    
    replace example.com/b v1.0.0 => ../b
    replace example.com/c v1.0.0 => ../c
    -- a/foo.go --
    package main
    
    import "example.com/b"
    
    func main() {
    	b.B()
    }
    -- b/go.mod --
    module example.com/b
    
    go 1.18
    
    require example.com/c v1.0.0
    -- b/b.go --
    package b
    
    func B() {
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 08 17:48:45 UTC 2021
    - 1.3K bytes
    - Viewed (0)
Back to top