diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 628e8dd..04ab5bf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ When contributing for the first time, you should also add yourself to the ### Testing Just the usual `go test ./...`; many of the tests are in -[testscript](https://godoc.org/github.com/rogpeppe/go-internal/testscript) under +[testscript](https://pkg.go.dev/github.com/rogpeppe/go-internal/testscript) under `testdata/script/`, which allows laying out files and shell-like steps to run as part of the test. diff --git a/README.md b/README.md index c699062..ad67e24 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ order to: * Replace as many useful identifiers as possible with short base64 hashes * Replace package paths with short base64 hashes -* Remove all [build](https://golang.org/pkg/runtime/#Version) and [module](https://golang.org/pkg/runtime/debug/#ReadBuildInfo) information +* Remove all [build](https://go.dev/pkg/runtime/#Version) and [module](https://go.dev/pkg/runtime/debug/#ReadBuildInfo) information * Strip filenames and shuffle position information * Strip debugging information and symbol tables via `-ldflags="-w -s"` * [Obfuscate literals](#literal-obfuscation), if the `-literals` flag is given @@ -42,7 +42,7 @@ module path, to obfuscate all packages under the current module. Note that commands like `garble build` will use the `go` version found in your `$PATH`. To use different versions of Go, you can -[install them](https://golang.org/doc/manage-install#installing-multiple) +[install them](https://go.dev/doc/manage-install#installing-multiple) and set up `$PATH` with them. For example, for Go 1.17.1: ```sh diff --git a/main.go b/main.go index 68c69cd..86f0a1b 100644 --- a/main.go +++ b/main.go @@ -1939,7 +1939,7 @@ func fetchGoEnv() error { This is likely due to go not being installed/setup correctly. -How to install Go: https://golang.org/doc/install +How to install Go: https://go.dev/doc/install `, err) return errJustExit(1) }