"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/go/testdata/script/mod_get_trailing_slash.txt" between
go1.16.4.src.tar.gz and go1.16.5.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language. Latest stable release (1.16).

mod_get_trailing_slash.txt  (go1.16.4.src):mod_get_trailing_slash.txt  (go1.16.5.src)
# Populate go.sum
go mod download
# go list should succeed to load a package ending with ".go" if the path does # go list should succeed to load a package ending with ".go" if the path does
# not correspond to an existing local file. Listing a pattern ending with # not correspond to an existing local file. Listing a pattern ending with
# ".go/" should try to list a package regardless of whether a file exists at the # ".go/" should try to list a package regardless of whether a file exists at the
# path without the suffixed "/" or not. # path without the suffixed "/" or not.
go list example.com/dotgo.go go list example.com/dotgo.go
stdout ^example.com/dotgo.go$ stdout ^example.com/dotgo.go$
go list example.com/dotgo.go/ go list example.com/dotgo.go/
stdout ^example.com/dotgo.go$ stdout ^example.com/dotgo.go$
# go get -d should succeed in either case, with or without a version. # go get -d should succeed in either case, with or without a version.
skipping to change at line 34 skipping to change at line 31
go get example.com/dotgo.go/ go get example.com/dotgo.go/
go get example.com/dotgo.go@v1.0.0 go get example.com/dotgo.go@v1.0.0
go get example.com/dotgo.go/@v1.0.0 go get example.com/dotgo.go/@v1.0.0
-- go.mod -- -- go.mod --
module m module m
go 1.13 go 1.13
require example.com/dotgo.go v1.0.0 require example.com/dotgo.go v1.0.0
-- go.sum --
example.com/dotgo.go v1.0.0 h1:XKJfs0V8x2PvY2tX8bJBCEbCDLnt15ma2onwhVpew/I=
example.com/dotgo.go v1.0.0/go.mod h1:Qi6z/X3AC5vHiuMt6HF2ICx3KhIBGrMdrA7YoPDKqR
0=
-- use.go --
package use
import _ "example.com/dotgo.go"
 End of changes. 2 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)