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