Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,754 for TXT (0.03 sec)

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

    [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)
    }
    -- want.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_vendor_unused_only.txt

    # requirements in go.mod are unused.  Regression test for
    # golang.org/issue/36580
    
    env GO111MODULE=on
    
    go mod vendor
    cmp go1.14-modules.txt vendor/modules.txt
    
    -- go.mod --
    module example.com/m
    go 1.14
    
    require example.com v1.0.0 // indirect
    -- go.sum --
    example.com v1.0.0/go.mod h1:WRiieAqDBb1hVdDXLLdxNtCDWNfehn7FWyPC5Oz2vB4=
    -- go1.14-modules.txt --
    # example.com v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 459 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_indirect_main.txt

    # dependencies through older versions of the main module.
    
    go list -f '{{with .Module}}{{.Path}}{{with .Version}} {{.}}{{end}}{{end}}' all
    cmp stdout pkgmods.txt
    
    go list -m all
    cmp stdout mods.txt
    
    go mod graph
    cmp stdout graph.txt
    
    -- go.mod --
    module golang.org/issue/root
    
    go 1.12
    
    replace (
    	golang.org/issue/mirror v0.1.0 => ./mirror-v0.1.0
    	golang.org/issue/pkg v0.1.0 => ./pkg-v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt

    [exec:patch] ! stdout .
    [exec:patch] cmp go.mod go.mod.tidyResult
    [exec:patch] cmp go.sum go.sum.tidyResult
    
    go list -deps -test -f $MODFMT all
    cp stdout out-117.txt
    
    go mod edit -go=1.16
    go list -deps -test -f $MODFMT all
    cmp stdout out-117.txt
    
    
    # If we explicitly drop compatibility with 1.16, we retain fewer checksums,
    # which gives a cleaner go.sum file but causes 1.16 to fail in readonly mode.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_list.txt

    # where Y/Z is the package build ID; running the program below will
    # pick out the parts of the ID that we want.
    env GOCOVERDIR=$WORK
    exec $WORK/m.exe $WORK/rawtoolbuildid.txt
    cp stdout $WORK/toolbuildid.txt
    
    # Build IDs should match here.
    cmp $WORK/toolbuildid.txt $WORK/listbuildid.txt
    
    # Make sure that the build succeeds regardless of covermode.
    go list -export -covermode=atomic m/example
    go list -export -covermode=count m/example
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 22:47:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat.txt

    [exec:patch] exec patch -p1 -i diff.patch
    [exec:patch] go mod tidy -diff
    [exec:patch] cmp go.mod go.mod.tidyResult
    [exec:patch] cmp go.sum go.sum.tidyResult
    
    go list -m all
    cmp stdout m_all.txt
    
    go mod edit -go=1.16
    go list -m all
    cmp stdout m_all.txt
    
    
    # If we explicitly drop compatibility with 1.16, we retain fewer checksums,
    # which gives a cleaner go.sum file but causes 1.16 to fail in readonly mode.
    
    cp go.mod.orig go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/list_std_vendor.txt

    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cp stdout $WORK/net-deps.txt
    
    
    # It should still report the same package dependencies when viewed from
    # within GOROOT/src.
    
    cd $GOROOT/src
    
    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cmp stdout $WORK/net-deps.txt
    
    
    # However, 'go mod' and 'go get' subcommands should report the original module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 883 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_vendor_main_module_replaced.txt

    # because it is of a main module, but it is still recorded in
    # vendor/modules.txt.
    
    go work vendor
    go list all # make sure the consistency checks pass
    ! stderr .
    
    # Removing the replace causes consistency checks to fail
    cp a_go_mod_no_replace a/go.mod
    ! go list all # consistency checks fail
    stderr 'example.com/b@v0.0.0: is marked as replaced in vendor/modules.txt, but not replaced in the workspace'
    
    
    -- a_go_mod_no_replace --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 895 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_vendor.txt

    exists dir2/relative-vendor-dir/a/foo/LICENSE
    
    # 'go mod vendor' should fall back to the default 'vendor' directory when an empty argument is passed to the -o flag
    # the same behavior should be exhibited both on the module root directory, as well as nested subdirectories
    
    go mod vendor -v -o ''
    exists vendor/modules.txt
    
    env GOFLAGS=-o=foo
    go mod vendor -v -o ''
    exists vendor/modules.txt
    env GOFLAGS=''
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_goline_too_new.txt

    ! go build -mod=vendor .
    stderr '^go: golang.org/x/text in vendor'${/}'modules.txt requires go >= 1.99999 \(running go 1\..+\)$'
    
    -- go.mod --
    module example
    go 1.99999
    
    -- p.go --
    package p
    
    -- go.mod.old --
    module example
    go 1.10
    
    -- go.work.new --
    go 1.99999
    use .
    
    -- go.work.old --
    go 1.10
    use .
    
    -- notvendor/modules.txt --
    # golang.org/x/text v0.9.0
    ## explicit; go 1.99999
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top