...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3go get
     4go list -m all
     5stdout '^rsc.io/quote v1.5.2'
     6stdout '^rsc.io/QUOTE v1.5.2'
     7
     8go list -f 'DIR {{.Dir}} DEPS {{.Deps}}' rsc.io/QUOTE/QUOTE
     9stdout 'DEPS.*rsc.io/quote'
    10stdout 'DIR.*!q!u!o!t!e'
    11
    12go get rsc.io/QUOTE@v1.5.3-PRE
    13go list -m all
    14stdout '^rsc.io/QUOTE v1.5.3-PRE'
    15
    16go list -f '{{.Dir}}' rsc.io/QUOTE/QUOTE
    17stdout '!q!u!o!t!e@v1.5.3-!p!r!e'
    18
    19-- go.mod --
    20module x
    21
    22-- use.go --
    23package use
    24
    25import _ "rsc.io/QUOTE/QUOTE"

View as plain text