From 00dd0265c30c5e219d3891165eacf4abbbb71cc3 Mon Sep 17 00:00:00 2001 From: jm96441n Date: Thu, 18 Jul 2024 15:45:29 -0400 Subject: [PATCH] update readme to use `go install` as `go get -u` is no longer valid for installing modules --- README.md | 2 +- cmd/sockaddr/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2e170ae0..3046031b6 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ the run: ```text -$ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr +$ go install github.com/hashicorp/go-sockaddr/cmd/sockaddr@latest ``` If you're familiar with UNIX's `sockaddr` struct's, the following diagram diff --git a/cmd/sockaddr/README.md b/cmd/sockaddr/README.md index e9914ffc1..f5cbce975 100644 --- a/cmd/sockaddr/README.md +++ b/cmd/sockaddr/README.md @@ -4,7 +4,7 @@ from the command line. ```text -$ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr +$ go install github.com/hashicorp/go-sockaddr/cmd/sockaddr@latest ``` ```text