From 88c335023239cb69108135523c6e59b71110e9f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camille=20Lou=C3=A9doc-Eyri=C3=A8s?= <clouedoc@tutanota.com> Date: Wed, 4 Oct 2023 21:10:51 +0200 Subject: [PATCH] docs(mixin): go get -> go install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > Starting in Go 1.17, installing executables with go get is deprecated. go install may be used instead. > > In Go 1.18, go get will no longer build packages; it will only be used to add, update, or remove dependencies in go.mod. Specifically, go get will always act as if the -d flag were enabled. More information: https://go.dev/doc/go-get-install-deprecation Signed-off-by: Camille Louédoc-Eyriès <clouedoc@tutanota.com> --- postgres_mixin/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres_mixin/README.md b/postgres_mixin/README.md index e5f12edf..33a41b0f 100644 --- a/postgres_mixin/README.md +++ b/postgres_mixin/README.md @@ -11,8 +11,8 @@ for Grafana. To use them, you need to have `mixtool` and `jsonnetfmt` installed. If you have a working Go development environment, it's easiest to run the following: ```bash -$ go get github.com/monitoring-mixins/mixtool/cmd/mixtool -$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt +$ go install github.com/monitoring-mixins/mixtool/cmd/mixtool +$ go install github.com/google/go-jsonnet/cmd/jsonnetfmt ``` You can then build the Prometheus rules files `alerts.yaml` and