zip/testdata/unzip/simple.txt
raw| 1 | path=example.com/m |
| 2 | version=v1.0.0 |
| 3 | hash=h1:tpqYOOmuilagXzyqoJ3roUjp8gneQeTv5YVpL6BG7/k= |
| 4 | -- example.com/[email protected]/go.mod -- |
| 5 | module example.com/m |
| 6 | |
| 7 | go 1.13 |
| 8 | -- example.com/[email protected]/m.go -- |
| 9 | package m |
| 10 | |
| 11 | func Foo() int { return 42 } |
| 12 | -- example.com/[email protected]/cmd/hello/hello.go -- |
| 13 | package main |
| 14 | |
| 15 | import ( |
| 16 | "fmt" |
| 17 | "example.com/m" |
| 18 | ) |
| 19 | |
| 20 | func main() { |
| 21 | fmt.Println(m.Foo()) |
| 22 | } |