From 2a00667fec122c38d245ca1deb112b24280a30b5 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 21 Dec 2023 18:21:24 -0500 Subject: [PATCH] gpm: deprecate > go get is no longer supported outside of a module in the legacy GOPATH mode (that is, with GO111MODULE=off). Other build commands, such as go build and go test, will continue to work indefinitely for legacy GOPATH programs. https://tip.golang.org/doc/go1.22 Signed-off-by: Rui Chen --- Formula/g/gpm.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/g/gpm.rb b/Formula/g/gpm.rb index 8daa6f13ce54..91e115bba4db 100644 --- a/Formula/g/gpm.rb +++ b/Formula/g/gpm.rb @@ -11,6 +11,9 @@ class Gpm < Formula sha256 cellar: :any_skip_relocation, all: "02b1f03f80d4477e80aaa5b1cc62e9a4be9288f4d4116a23c386bb9b6fcd3906" end + # https://tip.golang.org/doc/go1.22 + deprecate! date: "2023-12-21", because: "go get is no longer supported outside of a module" + depends_on "go" def install