]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: use errors.ErrUnsupported
authorTobias Klauser <tklauser@distanz.ch>
Tue, 14 Mar 2023 07:51:02 +0000 (08:51 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 14 Mar 2023 21:49:36 +0000 (21:49 +0000)
commitebf8e26d03d3c01bf1611b1189e0af64c3698557
treeb43e04f3db9ed2473e2056e47222547ee6b22421
parent08c32998297e66486416d4021630510eafdcd81e
cmd/go/internal/modfetch: use errors.ErrUnsupported

CL 473935 added errors.ErrUnsupported, let's use it.

Updates #41198

Change-Id: If6534d19cb31ca979ff00d529bd6bdfc964a616d
Reviewed-on: https://go-review.googlesource.com/c/go/+/476135
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/modfetch/codehost/codehost.go
src/cmd/go/internal/modfetch/codehost/vcs.go
src/cmd/go/internal/modfetch/coderepo.go