| # Note: "go get -d ." will add another example.com/cycle/v2 line. That line is |
| # non-deterministic, since the module is generate by prepareLoadDir each time. |
| # However, gorelease should ignore new go.sum entries for the module it's |
| # testing, since the requirement on that module is fake (a simulation: the user |
| # isn't actually relying on their own module). |
| -- go.sum -- |
| example.com/cycle/v2 v2.0.0/go.mod h1:lkmoN54Yqku+pnE3i6U+PjV87yiHyv3Rbei+phlzGGU= |
| example.com/cycledep/v2 v2.0.0 h1:B8tgq8pxH4IbvvozFpGx7k+HUeLoAPcmCixOXPZiuTE= |
| example.com/cycledep/v2 v2.0.0/go.mod h1:wBHRfgrlyovU4csu71ja8ySemxEOKOr8PpAiMU82nLw= |
| -- go.mod -- |
| module example.com/cycle/v2 |
| |
| go 1.12 |
| |
| require example.com/cycledep/v2 v2.0.0 |
| -- a.go -- |
| package a |
| |
| import _ "example.com/cycledep/v2" |