cmd/txtar-addmod/testdata/mod/github.com_gobin-testrepos_simple-main_v1.0.0.txt
raw| 1 | module github.com/gobin-testrepos/[email protected] |
| 2 | |
| 3 | -- .mod -- |
| 4 | module github.com/gobin-testrepos/simple-main |
| 5 | -- .info -- |
| 6 | {"Version":"v1.0.0","Time":"2018-10-22T18:45:39Z"} |
| 7 | -- go.mod -- |
| 8 | module github.com/gobin-testrepos/simple-main |
| 9 | -- main.go -- |
| 10 | package main |
| 11 | |
| 12 | import "fmt" |
| 13 | |
| 14 | func main() { |
| 15 | fmt.Println("I am a simple module-based main") |
| 16 | } |
| 17 | -- foobar -- |
| 18 | This is an extra file that can't be imported with the Go package, but may still |
| 19 | be used in a test. |