| 1 |
patch.example.com/direct v1.0.1 |
| 2 |
written by hand |
| 3 |
|
| 4 |
-- .mod -- |
| 5 |
module patch.example.com/direct |
| 6 |
|
| 7 |
require ( |
| 8 |
patch.example.com/indirect v1.0.0 |
| 9 |
patch.example.com/depofdirectpatch v1.0.0 |
| 10 |
) |
| 11 |
-- .info -- |
| 12 |
{"Version":"v1.0.1"} |
| 13 |
-- go.mod -- |
| 14 |
module patch.example.com/direct |
| 15 |
|
| 16 |
require ( |
| 17 |
patch.example.com/indirect v1.0.0 |
| 18 |
patch.example.com/depofdirectpatch v1.0.0 |
| 19 |
) |
| 20 |
-- direct.go -- |
| 21 |
package direct |
| 22 |
|
| 23 |
import _ "patch.example.com/indirect" |
| 24 |
-- usedepofdirectpatch/unused.go -- |
| 25 |
package usedepofdirectpatch |
| 26 |
|
| 27 |
import _ "patch.example.com/depofdirectpatch" |