| 1 |
example.com/cmd contains main packages. |
| 2 |
|
| 3 |
v1.0.0 is the latest non-retracted version. Other versions contain errors or |
| 4 |
detectable problems. |
| 5 |
|
| 6 |
-- .info -- |
| 7 |
{"Version":"v1.0.0"} |
| 8 |
-- .mod -- |
| 9 |
module example.com/cmd |
| 10 |
|
| 11 |
go 1.16 |
| 12 |
-- go.mod -- |
| 13 |
module example.com/cmd |
| 14 |
|
| 15 |
go 1.16 |
| 16 |
-- a/a.go -- |
| 17 |
package main |
| 18 |
|
| 19 |
import "fmt" |
| 20 |
|
| 21 |
func main() { fmt.Println("[email protected]") } |
| 22 |
-- b/b.go -- |
| 23 |
package main |
| 24 |
|
| 25 |
import "fmt" |
| 26 |
|
| 27 |
func main() { fmt.Println("[email protected]") } |
| 28 |
-- err/err.go -- |
| 29 |
package err |
| 30 |
|
| 31 |
var X = DoesNotCompile |