...

Text file src/cmd/go/testdata/script/mod_get_latest_pseudo.txt

Documentation: cmd/go/testdata/script

     1# Check that we can build a module with no tagged versions by querying
     2# "@latest" through a proxy.
     3# Verifies golang.org/issue/32636
     4
     5env GO111MODULE=on
     6
     7go mod init m
     8go get example.com/notags
     9go list -m all
    10stdout '^example.com/notags v0.0.0-20190507143103-cc8cbe209b64$'

View as plain text