From f127ec650c1b78900ff41f90d37491b7e9f1fc66 Mon Sep 17 00:00:00 2001 From: hsx Date: Tue, 7 Sep 2021 10:19:41 +0800 Subject: [PATCH] feat:go get: installing executables with 'go get' in module mode is deprecated. To adjust and download dependencies of the current module, use 'go get -d'. To install using requirements of the current module, use 'go install'. To install ignoring the current module, use 'go install' with a version, like 'go install example.com/cmd@latest'. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4342b26e..3a149859 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ For an overview, see the [introductory blog post][]. Install Wire by running: ```shell -go get github.com/google/wire/cmd/wire +go install github.com/google/wire/cmd/wire ``` and ensuring that `$GOPATH/bin` is added to your `$PATH`.