Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,310 for mod$ (0.05 sec)

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

    # but 'go mod vendor' cannot write go.mod.
    cp go.mod.toodirect go.mod
    go list all
    cmp go.mod go.mod.toodirect
    
    
    # Redundant requirements should be preserved...
    cp go.mod.redundant go.mod
    go list all
    cmp go.mod go.mod.redundant
    go mod vendor
    cmp go.mod go.mod.redundant
    rm -r vendor
    
    # ...except by 'go mod tidy'.
    go mod tidy
    cmp go.mod go.mod.tidy
    
    
    # A missing "go" version directive should be added.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_edit.txt

    go mod edit -json $WORK/go.mod.deprecation
    cmp stdout $WORK/go.mod.deprecation.json
    
    # go mod edit -json (empty mod file)
    go mod edit -json $WORK/go.mod.empty
    cmp stdout $WORK/go.mod.empty.json
    
    # go mod edit -replace
    go mod edit -replace=x.1@v1.3.0=y.1/v2@v2.3.5 -replace=x.1@v1.4.0=y.1/v2@v2.3.5
    cmpenv go.mod $WORK/go.mod.edit3
    go mod edit -replace=x.1=y.1/v2@v2.3.6
    cmpenv go.mod $WORK/go.mod.edit4
    go mod edit -dropreplace=x.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/modfile_flag.txt

    # other 'go mod' commands should work. 'go mod vendor' is tested later.
    go mod download rsc.io/quote
    go mod graph
    stdout rsc.io/quote
    go mod tidy
    grep rsc.io/quote go.alt.sum
    go mod verify
    go mod why rsc.io/quote
    
    
    # 'go list' and other commands with build flags should work.
    # They should update the alternate go.mod when a dependency is missing.
    go mod edit -droprequire rsc.io/quote
    go list -mod=mod .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. go.sum

    github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/generate_workspace.txt

    # This is a regression test for Issue #56098: Go generate
    # wasn't initializing workspace mode
    
    [short] skip
    
    go generate ./mod
    cmp ./mod/got.txt want.txt
    
    -- go.work --
    go 1.22
    
    use ./mod
    -- mod/go.mod --
    module example.com/mod
    -- mod/gen.go --
    //go:generate go run gen.go got.txt
    
    package main
    
    import "os"
    
    func main() {
        outfile := os.Args[1]
        os.WriteFile(outfile, []byte("Hello World!\n"), 0644)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_sumdb_proxy.txt

    # basic fetch (through proxy) works
    cp go.mod.orig go.mod
    go get rsc.io/fortune@v1.0.0 # note: must use test proxy, does not exist in real world
    rm $GOPATH/pkg/mod/cache/download/sumdb # rm sumdb cache but NOT package download cache
    rm go.sum
    
    # can fetch by explicit URL
    cp go.mod.orig go.mod
    env GOSUMDB=$sumdb' '$proxy/sumdb-direct
    go get rsc.io/fortune@v1.0.0
    rm $GOPATH/pkg/mod/cache/download/sumdb
    rm go.sum
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    ! stderr '\n\tgo mod tidy'
    
    cmp go.mod go.mod.tidy
    
    # Make sure that -diff behaves the same as tidy.
    [exec:patch] cp go.mod go.mod.tidyResult
    [exec:patch] ! exists go.sum
    [exec:patch] cp go.mod.orig go.mod
    [exec:patch] ! go mod tidy -e -diff
    [exec:patch] stdout 'diff current/go.mod tidy/go.mod'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/go.sum

    golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
    golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
    golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
    golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
    golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_overlay.txt

    -- overlay-replaced-go-mod/source.go --
    package m
    
    import "replaced/mod/foo"
    
    func main() {
    	foo.f()
    }
    -- overlay-replaced-go-mod/overlay.json --
    {
    	"Replace": {
    		"../replaced-mod/go.mod": "../../../overlay/replacement_module_go_mod"
    	}
    }
    -- replaced-mod/go.mod --
    module replaced/mod
    -- replaced-mod/foo/foo.go --
    package foo
    
    import "dep/mod/foo"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_reject_modfile.txt

    # Test that -modfile=path/to/go.mod is rejected in workspace mode.
    
    ! go list -m -modfile=./a/go.alt.mod
    stderr 'go: -modfile cannot be used in workspace mode'
    
    env GOFLAGS=-modfile=./a/go.alt.mod
    ! go list -m
    stderr 'go: -modfile cannot be used in workspace mode'
    
    -- go.work --
    go 1.20
    
    use (
        ./a
    )
    
    -- a/go.mod --
    module example.com/foo
    
    go 1.20
    
    -- a/go.alt.mod --
    module example.com/foo
    
    go 1.20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 17:42:47 UTC 2023
    - 495 bytes
    - Viewed (0)
Back to top