From fe498e5edaaedcd5f4fe9fe9c14ee23c5cf879dc Mon Sep 17 00:00:00 2001 From: Adam S Levy Date: Mon, 27 Aug 2018 10:02:41 -0800 Subject: [PATCH] build(go111): Add go module support --- .gitignore | 2 ++ go.mod | 3 +++ go.sum | 4 ++++ gocomplete/go.mod | 6 ++++++ gocomplete/go.sum | 6 ++++++ 5 files changed, 21 insertions(+) create mode 100644 go.mod create mode 100644 go.sum create mode 100644 gocomplete/go.mod create mode 100644 gocomplete/go.sum diff --git a/.gitignore b/.gitignore index 1363720..293955f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .idea coverage.txt +gocomplete/gocomplete +example/self/self diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..fef0c44 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/posener/complete + +require github.com/hashicorp/go-multierror v1.0.0 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..d2f1330 --- /dev/null +++ b/go.sum @@ -0,0 +1,4 @@ +github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= diff --git a/gocomplete/go.mod b/gocomplete/go.mod new file mode 100644 index 0000000..d312331 --- /dev/null +++ b/gocomplete/go.mod @@ -0,0 +1,6 @@ +module gocomplete + +require ( + github.com/hashicorp/go-multierror v1.0.0 // indirect + github.com/posener/complete v1.1.2 +) diff --git a/gocomplete/go.sum b/gocomplete/go.sum new file mode 100644 index 0000000..75d894d --- /dev/null +++ b/gocomplete/go.sum @@ -0,0 +1,6 @@ +github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/posener/complete v1.1.2 h1:fS9GkqLN9DIpHg9j3fAPHdj5P3LhzxuoSybQd1v26IE= +github.com/posener/complete v1.1.2/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=