Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / mod@v0.3.0 / zip / testdata / create_from_dir / simple.txt
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/mod@v0.3.0/zip/testdata/create_from_dir/simple.txt b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/mod@v0.3.0/zip/testdata/create_from_dir/simple.txt
new file mode 100644 (file)
index 0000000..52e83c2
--- /dev/null
@@ -0,0 +1,22 @@
+path=example.com/m
+version=v1.0.0
+hash=h1:tpqYOOmuilagXzyqoJ3roUjp8gneQeTv5YVpL6BG7/k=
+-- go.mod --
+module example.com/m
+
+go 1.13
+-- m.go --
+package m
+
+func Foo() int { return 42 }
+-- cmd/hello/hello.go --
+package main
+
+import (
+  "fmt"
+  "example.com/m"
+)
+
+func main() {
+  fmt.Println(m.Foo())
+}