From da13e2fbe7df715782f4cdb5d96ae5e8f1ca1d6a Mon Sep 17 00:00:00 2001
From: Andreas Deininger
Date: Mon, 6 Jun 2022 20:31:46 +0200
Subject: [PATCH] Improving links (http -> https) (#425)
---
.github/workflows/test.yml | 2 +-
README.md | 6 +++---
examples/base64-encoding/base64-encoding.go | 2 +-
examples/base64-encoding/base64-encoding.hash | 4 ++--
examples/closures/closures.go | 4 ++--
examples/closures/closures.hash | 4 ++--
examples/command-line-arguments/command-line-arguments.go | 2 +-
examples/command-line-arguments/command-line-arguments.hash | 4 ++--
examples/command-line-flags/command-line-flags.go | 2 +-
examples/command-line-flags/command-line-flags.hash | 4 ++--
examples/environment-variables/environment-variables.go | 4 ++--
examples/environment-variables/environment-variables.hash | 4 ++--
examples/epoch/epoch.go | 2 +-
examples/epoch/epoch.hash | 4 ++--
examples/errors/errors.sh | 2 +-
examples/execing-processes/execing-processes.go | 2 +-
examples/execing-processes/execing-processes.hash | 4 ++--
examples/http-clients/http-clients.go | 2 +-
examples/http-clients/http-clients.hash | 4 ++--
examples/if-else/if-else.sh | 2 +-
examples/interfaces/interfaces.sh | 2 +-
examples/json/json.sh | 4 ++--
examples/maps/maps.go | 2 +-
examples/maps/maps.hash | 4 ++--
examples/mutexes/mutexes.go | 2 +-
examples/mutexes/mutexes.hash | 4 ++--
examples/pointers/pointers.go | 2 +-
examples/pointers/pointers.hash | 4 ++--
examples/random-numbers/random-numbers.go | 2 +-
examples/random-numbers/random-numbers.hash | 4 ++--
examples/random-numbers/random-numbers.sh | 2 +-
examples/rate-limiting/rate-limiting.go | 2 +-
examples/rate-limiting/rate-limiting.hash | 4 ++--
examples/recursion/recursion.go | 2 +-
examples/recursion/recursion.hash | 4 ++--
examples/regular-expressions/regular-expressions.go | 2 +-
examples/regular-expressions/regular-expressions.hash | 4 ++--
examples/regular-expressions/regular-expressions.sh | 2 +-
examples/signals/signals.go | 2 +-
examples/signals/signals.hash | 4 ++--
examples/slices/slices.sh | 2 +-
examples/string-functions/string-functions.go | 2 +-
examples/string-functions/string-functions.hash | 4 ++--
examples/variadic-functions/variadic-functions.go | 2 +-
examples/variadic-functions/variadic-functions.hash | 4 ++--
public/arrays | 2 +-
public/atomic-counters | 2 +-
public/base64-encoding | 4 ++--
public/channel-buffering | 2 +-
public/channel-directions | 2 +-
public/channel-synchronization | 2 +-
public/channels | 2 +-
public/closing-channels | 2 +-
public/closures | 6 +++---
public/command-line-arguments | 4 ++--
public/command-line-flags | 4 ++--
public/command-line-subcommands | 2 +-
public/constants | 2 +-
public/context | 2 +-
public/defer | 2 +-
public/directories | 2 +-
public/embed-directive | 2 +-
public/environment-variables | 6 +++---
public/epoch | 4 ++--
public/errors | 4 ++--
public/execing-processes | 4 ++--
public/exit | 2 +-
public/file-paths | 2 +-
public/for | 2 +-
public/functions | 2 +-
public/generics | 2 +-
public/goroutines | 2 +-
public/hello-world | 2 +-
public/http-clients | 6 +++---
public/http-servers | 2 +-
public/if-else | 4 ++--
public/index.html | 2 +-
public/interfaces | 4 ++--
public/json | 6 +++---
public/line-filters | 2 +-
public/maps | 4 ++--
public/methods | 2 +-
public/multiple-return-values | 2 +-
public/mutexes | 4 ++--
public/non-blocking-channel-operations | 2 +-
public/number-parsing | 2 +-
public/panic | 2 +-
public/pointers | 4 ++--
public/random-numbers | 6 +++---
public/range | 2 +-
public/range-over-channels | 2 +-
public/rate-limiting | 4 ++--
public/reading-files | 2 +-
public/recover | 2 +-
public/recursion | 4 ++--
public/regular-expressions | 6 +++---
public/select | 2 +-
public/sha256-hashes | 2 +-
public/signals | 4 ++--
public/site.css | 2 +-
public/slices | 4 ++--
public/sorting | 2 +-
public/sorting-by-functions | 2 +-
public/spawning-processes | 2 +-
public/stateful-goroutines | 2 +-
public/string-formatting | 2 +-
public/string-functions | 4 ++--
public/strings-and-runes | 2 +-
public/struct-embedding | 2 +-
public/structs | 2 +-
public/switch | 2 +-
public/temporary-files-and-directories | 2 +-
public/testing-and-benchmarking | 2 +-
public/text-templates | 2 +-
public/tickers | 2 +-
public/time | 2 +-
public/time-formatting-parsing | 2 +-
public/timeouts | 2 +-
public/timers | 2 +-
public/url-parsing | 2 +-
public/values | 2 +-
public/variables | 2 +-
public/variadic-functions | 4 ++--
public/waitgroups | 2 +-
public/worker-pools | 2 +-
public/writing-files | 2 +-
public/xml | 2 +-
templates/example.tmpl | 2 +-
templates/index.tmpl | 2 +-
templates/site.css | 2 +-
130 files changed, 182 insertions(+), 182 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e79402c..ae89841 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
- go-version: [1.18.0]
+ go-version: [1.18.3]
runs-on: ${{ matrix.os }}
steps:
diff --git a/README.md b/README.md
index 538bfd5..1bf00e9 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ $ tools/upload
This work is copyright Mark McGranaghan and licensed under a
[Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/).
-The Go Gopher is copyright [Renée French](http://reneefrench.blogspot.com/) and licensed under a
+The Go Gopher is copyright [Renée French](https://reneefrench.blogspot.com/) and licensed under a
[Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/).
@@ -66,12 +66,12 @@ Contributor translations of the Go by Example site are available in:
* [Chinese](https://gobyexample-cn.github.io/) by [gobyexample-cn](https://github.com/gobyexample-cn)
* [Czech](http://gobyexamples.sweb.cz/) by [martinkunc](https://github.com/martinkunc/gobyexample-cz)
* [French](http://le-go-par-l-exemple.keiruaprod.fr) by [keirua](https://github.com/keirua/gobyexample)
-* [Italian](http://gobyexample.it) by the [Go Italian community](https://github.com/golangit/gobyexample-it)
+* [Italian](https://gobyexample.it) by the [Go Italian community](https://github.com/golangit/gobyexample-it)
* [Japanese](http://spinute.org/go-by-example) by [spinute](https://github.com/spinute)
* [Korean](https://mingrammer.com/gobyexample/) by [mingrammer](https://github.com/mingrammer)
* [Russian](https://gobyexample.com.ru/) by [badkaktus](https://github.com/badkaktus)
* [Spanish](http://goconejemplos.com) by the [Go Mexico community](https://github.com/dabit/gobyexample)
-* [Ukrainian](http://butuzov.github.io/gobyexample/) by [butuzov](https://github.com/butuzov/gobyexample)
+* [Ukrainian](https://butuzov.github.io/gobyexample/) by [butuzov](https://github.com/butuzov/gobyexample)
### Thanks
diff --git a/examples/base64-encoding/base64-encoding.go b/examples/base64-encoding/base64-encoding.go
index 09e94fd..d5a0b9b 100644
--- a/examples/base64-encoding/base64-encoding.go
+++ b/examples/base64-encoding/base64-encoding.go
@@ -1,5 +1,5 @@
// Go provides built-in support for [base64
-// encoding/decoding](http://en.wikipedia.org/wiki/Base64).
+// encoding/decoding](https://en.wikipedia.org/wiki/Base64).
package main
diff --git a/examples/base64-encoding/base64-encoding.hash b/examples/base64-encoding/base64-encoding.hash
index 09e2b2a..e2b8deb 100644
--- a/examples/base64-encoding/base64-encoding.hash
+++ b/examples/base64-encoding/base64-encoding.hash
@@ -1,2 +1,2 @@
-cd00d89ad0a31e48d6a2e2adc2e8d65b0f70dc73
-S7ff3UgzNlG
+47f0317643bc5107af6fae64cb0fdad1260ead37
+yztzkirFEvv
diff --git a/examples/closures/closures.go b/examples/closures/closures.go
index 90dc2eb..27def72 100644
--- a/examples/closures/closures.go
+++ b/examples/closures/closures.go
@@ -1,5 +1,5 @@
-// Go supports [_anonymous functions_](http://en.wikipedia.org/wiki/Anonymous_function),
-// which can form closures.
+// Go supports [_anonymous functions_](https://en.wikipedia.org/wiki/Anonymous_function),
+// which can form closures.
// Anonymous functions are useful when you want to define
// a function inline without having to name it.
diff --git a/examples/closures/closures.hash b/examples/closures/closures.hash
index df8a22b..7dafe7d 100644
--- a/examples/closures/closures.hash
+++ b/examples/closures/closures.hash
@@ -1,2 +1,2 @@
-6713bdbb6de0d7d484422517dd77316c8b9f0a7a
-66Lgw9iIIch
+6514e124c8127250a2eecfadc9708181e51f9603
+NpgpzS8ZG8y
diff --git a/examples/command-line-arguments/command-line-arguments.go b/examples/command-line-arguments/command-line-arguments.go
index 1104113..a3fb3e6 100644
--- a/examples/command-line-arguments/command-line-arguments.go
+++ b/examples/command-line-arguments/command-line-arguments.go
@@ -1,4 +1,4 @@
-// [_Command-line arguments_](http://en.wikipedia.org/wiki/Command-line_interface#Arguments)
+// [_Command-line arguments_](https://en.wikipedia.org/wiki/Command-line_interface#Arguments)
// are a common way to parameterize execution of programs.
// For example, `go run hello.go` uses `run` and
// `hello.go` arguments to the `go` program.
diff --git a/examples/command-line-arguments/command-line-arguments.hash b/examples/command-line-arguments/command-line-arguments.hash
index 6587429..c099ea1 100644
--- a/examples/command-line-arguments/command-line-arguments.hash
+++ b/examples/command-line-arguments/command-line-arguments.hash
@@ -1,2 +1,2 @@
-d60d1c9cb5dbbb748cf3b692334076951cea7d59
-oSxtj7v_v1K
+ad871e829d1457d97d0f1c1af77e39f6942ac5a5
+UYCEvh9d2Zb
diff --git a/examples/command-line-flags/command-line-flags.go b/examples/command-line-flags/command-line-flags.go
index 886de07..16412cd 100644
--- a/examples/command-line-flags/command-line-flags.go
+++ b/examples/command-line-flags/command-line-flags.go
@@ -1,4 +1,4 @@
-// [_Command-line flags_](http://en.wikipedia.org/wiki/Command-line_interface#Command-line_option)
+// [_Command-line flags_](https://en.wikipedia.org/wiki/Command-line_interface#Command-line_option)
// are a common way to specify options for command-line
// programs. For example, in `wc -l` the `-l` is a
// command-line flag.
diff --git a/examples/command-line-flags/command-line-flags.hash b/examples/command-line-flags/command-line-flags.hash
index 5c128da..4b5c049 100644
--- a/examples/command-line-flags/command-line-flags.hash
+++ b/examples/command-line-flags/command-line-flags.hash
@@ -1,2 +1,2 @@
-08e716a5ee3b5f74ef826d7b5ce157cb3b44c4f7
--zzqphwtdJq
+9cca50e58f488570cc8e92dde37582ea5ee04bf3
+IUPZlYSigc3
diff --git a/examples/environment-variables/environment-variables.go b/examples/environment-variables/environment-variables.go
index e3e42a5..f1d3dc1 100644
--- a/examples/environment-variables/environment-variables.go
+++ b/examples/environment-variables/environment-variables.go
@@ -1,6 +1,6 @@
-// [Environment variables](http://en.wikipedia.org/wiki/Environment_variable)
+// [Environment variables](https://en.wikipedia.org/wiki/Environment_variable)
// are a universal mechanism for [conveying configuration
-// information to Unix programs](http://www.12factor.net/config).
+// information to Unix programs](https://www.12factor.net/config).
// Let's look at how to set, get, and list environment variables.
package main
diff --git a/examples/environment-variables/environment-variables.hash b/examples/environment-variables/environment-variables.hash
index bf64045..02c7a25 100644
--- a/examples/environment-variables/environment-variables.hash
+++ b/examples/environment-variables/environment-variables.hash
@@ -1,2 +1,2 @@
-bee983e7820d64dec5331dc706c08f6135b5c632
-KuD8tDyB4lQ
+f480d3803659977183a4bc5c14da26c80b1d31fe
+2jmwXM264NC
diff --git a/examples/epoch/epoch.go b/examples/epoch/epoch.go
index a48ece9..f77ab30 100644
--- a/examples/epoch/epoch.go
+++ b/examples/epoch/epoch.go
@@ -1,6 +1,6 @@
// A common requirement in programs is getting the number
// of seconds, milliseconds, or nanoseconds since the
-// [Unix epoch](http://en.wikipedia.org/wiki/Unix_time).
+// [Unix epoch](https://en.wikipedia.org/wiki/Unix_time).
// Here's how to do it in Go.
package main
diff --git a/examples/epoch/epoch.hash b/examples/epoch/epoch.hash
index 7248790..579635a 100644
--- a/examples/epoch/epoch.hash
+++ b/examples/epoch/epoch.hash
@@ -1,2 +1,2 @@
-54e66c2e84334f2adbf87aaeb62065111c5644ea
-iG_EcjJp4ss
+a67ae165a1f00c205a344327d9d638f4eb931b5c
+lRmD1EWHHPz
diff --git a/examples/errors/errors.sh b/examples/errors/errors.sh
index 068d606..54315ae 100644
--- a/examples/errors/errors.sh
+++ b/examples/errors/errors.sh
@@ -6,5 +6,5 @@ f2 failed: 42 - can't work with it
42
can't work with it
-# See this [great post](http://blog.golang.org/2011/07/error-handling-and-go.html)
+# See this [great post](https://go.dev/blog/error-handling-and-go)
# on the Go blog for more on error handling.
diff --git a/examples/execing-processes/execing-processes.go b/examples/execing-processes/execing-processes.go
index 04f5816..7ac8300 100644
--- a/examples/execing-processes/execing-processes.go
+++ b/examples/execing-processes/execing-processes.go
@@ -5,7 +5,7 @@
// completely replace the current Go process with another
// (perhaps non-Go) one. To do this we'll use Go's
// implementation of the classic
-// exec
+// exec
// function.
package main
diff --git a/examples/execing-processes/execing-processes.hash b/examples/execing-processes/execing-processes.hash
index 8ba5637..90bd325 100644
--- a/examples/execing-processes/execing-processes.hash
+++ b/examples/execing-processes/execing-processes.hash
@@ -1,2 +1,2 @@
-18867a0e743aaadb2aba0a0c7b1ca8098a1aa95c
-nI-HMuCI2lG
+568ae983493addff02d2ce8df57f41daf537f077
+s9qg7olf1dM
diff --git a/examples/http-clients/http-clients.go b/examples/http-clients/http-clients.go
index 7cd71ef..57b22f2 100644
--- a/examples/http-clients/http-clients.go
+++ b/examples/http-clients/http-clients.go
@@ -17,7 +17,7 @@ func main() {
// object and calling its `Get` method; it uses the
// `http.DefaultClient` object which has useful default
// settings.
- resp, err := http.Get("http://gobyexample.com")
+ resp, err := http.Get("https://gobyexample.com")
if err != nil {
panic(err)
}
diff --git a/examples/http-clients/http-clients.hash b/examples/http-clients/http-clients.hash
index b36a4b2..8193364 100644
--- a/examples/http-clients/http-clients.hash
+++ b/examples/http-clients/http-clients.hash
@@ -1,2 +1,2 @@
-fbc80f8cfcd34e9daa3c52c23f6720f6ef7019dc
-kHCcVLoz7nd
+1497e193431e4740f593039f613773daaf97772e
+vFW_el7oHMk
diff --git a/examples/if-else/if-else.sh b/examples/if-else/if-else.sh
index 13c363f..52ccc11 100644
--- a/examples/if-else/if-else.sh
+++ b/examples/if-else/if-else.sh
@@ -3,6 +3,6 @@ $ go run if-else.go
8 is divisible by 4
9 has 1 digit
-# There is no [ternary if](http://en.wikipedia.org/wiki/%3F:)
+# There is no [ternary if](https://en.wikipedia.org/wiki/%3F:)
# in Go, so you'll need to use a full `if` statement even
# for basic conditions.
diff --git a/examples/interfaces/interfaces.sh b/examples/interfaces/interfaces.sh
index f800e3a..b711476 100644
--- a/examples/interfaces/interfaces.sh
+++ b/examples/interfaces/interfaces.sh
@@ -7,4 +7,4 @@ $ go run interfaces.go
31.41592653589793
# To learn more about Go's interfaces, check out this
-# [great blog post](http://jordanorelli.tumblr.com/post/32665860244/how-to-use-interfaces-in-go).
+# [great blog post](https://jordanorelli.tumblr.com/post/32665860244/how-to-use-interfaces-in-go).
diff --git a/examples/json/json.sh b/examples/json/json.sh
index e9d0c9f..a21ef9d 100644
--- a/examples/json/json.sh
+++ b/examples/json/json.sh
@@ -16,6 +16,6 @@ apple
# We've covered the basic of JSON in Go here, but check
-# out the [JSON and Go](http://blog.golang.org/2011/01/json-and-go.html)
-# blog post and [JSON package docs](http://golang.org/pkg/encoding/json/)
+# out the [JSON and Go](https://go.dev/blog/json)
+# blog post and [JSON package docs](https://pkg.go.dev/encoding/json)
# for more.
diff --git a/examples/maps/maps.go b/examples/maps/maps.go
index 3346270..8a40d35 100644
--- a/examples/maps/maps.go
+++ b/examples/maps/maps.go
@@ -1,4 +1,4 @@
-// _Maps_ are Go's built-in [associative data type](http://en.wikipedia.org/wiki/Associative_array)
+// _Maps_ are Go's built-in [associative data type](https://en.wikipedia.org/wiki/Associative_array)
// (sometimes called _hashes_ or _dicts_ in other languages).
package main
diff --git a/examples/maps/maps.hash b/examples/maps/maps.hash
index 79caf58..2c0cd81 100644
--- a/examples/maps/maps.hash
+++ b/examples/maps/maps.hash
@@ -1,2 +1,2 @@
-9e0e4535c99668b460c7175f8ff2edc2ccf58bec
-agK2Ro2i-Lu
+22d147fe9402f9ff210f12b9810811c07f4d64ca
+ulCzODwCde_0
diff --git a/examples/mutexes/mutexes.go b/examples/mutexes/mutexes.go
index 448eb6c..9569ba5 100644
--- a/examples/mutexes/mutexes.go
+++ b/examples/mutexes/mutexes.go
@@ -1,6 +1,6 @@
// In the previous example we saw how to manage simple
// counter state using [atomic operations](atomic-counters).
-// For more complex state we can use a [_mutex_](http://en.wikipedia.org/wiki/Mutual_exclusion)
+// For more complex state we can use a [_mutex_](https://en.wikipedia.org/wiki/Mutual_exclusion)
// to safely access data across multiple goroutines.
package main
diff --git a/examples/mutexes/mutexes.hash b/examples/mutexes/mutexes.hash
index 974d727..8c57af1 100644
--- a/examples/mutexes/mutexes.hash
+++ b/examples/mutexes/mutexes.hash
@@ -1,2 +1,2 @@
-3688453f408d8c7cc6db91ab7fd5e0ac06ade7ea
-tDqeib2-yZA
+a437476f37f1f797e1bab491b3f2ac9b386f6700
+Kr_cdza5vyz
diff --git a/examples/pointers/pointers.go b/examples/pointers/pointers.go
index 5574997..1a24906 100644
--- a/examples/pointers/pointers.go
+++ b/examples/pointers/pointers.go
@@ -1,4 +1,4 @@
-// Go supports pointers,
+// Go supports pointers,
// allowing you to pass references to values and records
// within your program.
diff --git a/examples/pointers/pointers.hash b/examples/pointers/pointers.hash
index 455774f..b67064b 100644
--- a/examples/pointers/pointers.hash
+++ b/examples/pointers/pointers.hash
@@ -1,2 +1,2 @@
-c727916063ddc3e99199cd24bfbde37ff301c0b4
-oimmXypnAcs
+7f9855cfb983efc07415117e2be734f55a6bb64b
+OlWCLpxAyBz
diff --git a/examples/random-numbers/random-numbers.go b/examples/random-numbers/random-numbers.go
index ebb6a8c..3bd5d54 100644
--- a/examples/random-numbers/random-numbers.go
+++ b/examples/random-numbers/random-numbers.go
@@ -1,5 +1,5 @@
// Go's `math/rand` package provides
-// [pseudorandom number](http://en.wikipedia.org/wiki/Pseudorandom_number_generator)
+// [pseudorandom number](https://en.wikipedia.org/wiki/Pseudorandom_number_generator)
// generation.
package main
diff --git a/examples/random-numbers/random-numbers.hash b/examples/random-numbers/random-numbers.hash
index 907e93b..338e522 100644
--- a/examples/random-numbers/random-numbers.hash
+++ b/examples/random-numbers/random-numbers.hash
@@ -1,2 +1,2 @@
-102041ca421268afbd4b4e7687386bb65a8c7965
-PGklfJzErTN
+f0f88939692a32975d902c94066537a6ba5ab96f
+RaoKyUd9tgC
diff --git a/examples/random-numbers/random-numbers.sh b/examples/random-numbers/random-numbers.sh
index 67c37a8..3cd78b4 100644
--- a/examples/random-numbers/random-numbers.sh
+++ b/examples/random-numbers/random-numbers.sh
@@ -7,6 +7,6 @@ $ go run random-numbers.go
5,87
-# See the [`math/rand`](http://golang.org/pkg/math/rand/)
+# See the [`math/rand`](https://pkg.go.dev/math/rand)
# package docs for references on other random quantities
# that Go can provide.
diff --git a/examples/rate-limiting/rate-limiting.go b/examples/rate-limiting/rate-limiting.go
index d890e7f..f1e84c1 100644
--- a/examples/rate-limiting/rate-limiting.go
+++ b/examples/rate-limiting/rate-limiting.go
@@ -1,4 +1,4 @@
-// [_Rate limiting_](http://en.wikipedia.org/wiki/Rate_limiting)
+// [_Rate limiting_](https://en.wikipedia.org/wiki/Rate_limiting)
// is an important mechanism for controlling resource
// utilization and maintaining quality of service. Go
// elegantly supports rate limiting with goroutines,
diff --git a/examples/rate-limiting/rate-limiting.hash b/examples/rate-limiting/rate-limiting.hash
index adb0bfc..3b65732 100644
--- a/examples/rate-limiting/rate-limiting.hash
+++ b/examples/rate-limiting/rate-limiting.hash
@@ -1,2 +1,2 @@
-c7063265708287744ea172ed9ed1390043140718
-GXjXHfnKFXg
+4f327f5bd5ac199ae5590652563ea6ca4ce7eff5
+lqf7pC2FUeT
diff --git a/examples/recursion/recursion.go b/examples/recursion/recursion.go
index f0ce4e1..b85deb8 100644
--- a/examples/recursion/recursion.go
+++ b/examples/recursion/recursion.go
@@ -1,5 +1,5 @@
// Go supports
-// recursive functions.
+// recursive functions.
// Here's a classic example.
package main
diff --git a/examples/recursion/recursion.hash b/examples/recursion/recursion.hash
index 0260100..7237c6a 100644
--- a/examples/recursion/recursion.hash
+++ b/examples/recursion/recursion.hash
@@ -1,2 +1,2 @@
-9ac9b5af828c33eb20dd322fd1a991334242c4b3
-7hD-3-bIuSp
+cdbd1a6957b3e2d7d9baa9efe4581ba4f8f3e753
+MBTKk9VpAiK
diff --git a/examples/regular-expressions/regular-expressions.go b/examples/regular-expressions/regular-expressions.go
index e10e934..aa7bf75 100644
--- a/examples/regular-expressions/regular-expressions.go
+++ b/examples/regular-expressions/regular-expressions.go
@@ -1,4 +1,4 @@
-// Go offers built-in support for [regular expressions](http://en.wikipedia.org/wiki/Regular_expression).
+// Go offers built-in support for [regular expressions](https://en.wikipedia.org/wiki/Regular_expression).
// Here are some examples of common regexp-related tasks
// in Go.
diff --git a/examples/regular-expressions/regular-expressions.hash b/examples/regular-expressions/regular-expressions.hash
index 63ee8ef..8650e3b 100644
--- a/examples/regular-expressions/regular-expressions.hash
+++ b/examples/regular-expressions/regular-expressions.hash
@@ -1,2 +1,2 @@
-5c3bcf9f8c61fc074143f766c4517e445a6d9b0f
-htCqJrLdh9Q
+7fd60a9497546cb5c84242276ed79aecbde7e950
+fI2YIfYsCaL
diff --git a/examples/regular-expressions/regular-expressions.sh b/examples/regular-expressions/regular-expressions.sh
index ec4f201..afdab0d 100644
--- a/examples/regular-expressions/regular-expressions.sh
+++ b/examples/regular-expressions/regular-expressions.sh
@@ -14,4 +14,4 @@ a
a PEACH
# For a complete reference on Go regular expressions check
-# the [`regexp`](http://golang.org/pkg/regexp/) package docs.
+# the [`regexp`](https://pkg.go.dev/regexp) package docs.
diff --git a/examples/signals/signals.go b/examples/signals/signals.go
index 1fd225b..54e8789 100644
--- a/examples/signals/signals.go
+++ b/examples/signals/signals.go
@@ -1,5 +1,5 @@
// Sometimes we'd like our Go programs to intelligently
-// handle [Unix signals](http://en.wikipedia.org/wiki/Unix_signal).
+// handle [Unix signals](https://en.wikipedia.org/wiki/Unix_signal).
// For example, we might want a server to gracefully
// shutdown when it receives a `SIGTERM`, or a command-line
// tool to stop processing input if it receives a `SIGINT`.
diff --git a/examples/signals/signals.hash b/examples/signals/signals.hash
index 3735e8f..4f7a779 100644
--- a/examples/signals/signals.hash
+++ b/examples/signals/signals.hash
@@ -1,2 +1,2 @@
-cd15508731199185f3205692af0f80cbdee4fcd7
-LauPuRo3v9l
+739d6c0e33656817de5701412fe266c51730b532
+RKLAbvblJMQ
diff --git a/examples/slices/slices.sh b/examples/slices/slices.sh
index 9d40831..f29dd36 100644
--- a/examples/slices/slices.sh
+++ b/examples/slices/slices.sh
@@ -13,7 +13,7 @@ sl3: [c d e f]
dcl: [g h i]
2d: [[0] [1 2] [2 3 4]]
-# Check out this [great blog post](http://blog.golang.org/2011/01/go-slices-usage-and-internals.html)
+# Check out this [great blog post](https://go.dev/blog/slices-intro)
# by the Go team for more details on the design and
# implementation of slices in Go.
diff --git a/examples/string-functions/string-functions.go b/examples/string-functions/string-functions.go
index 7a26e28..739b547 100644
--- a/examples/string-functions/string-functions.go
+++ b/examples/string-functions/string-functions.go
@@ -20,7 +20,7 @@ func main() {
// package, not methods on the string object itself,
// we need pass the string in question as the first
// argument to the function. You can find more
- // functions in the [`strings`](http://golang.org/pkg/strings/)
+ // functions in the [`strings`](https://pkg.go.dev/strings)
// package docs.
p("Contains: ", s.Contains("test", "es"))
p("Count: ", s.Count("test", "t"))
diff --git a/examples/string-functions/string-functions.hash b/examples/string-functions/string-functions.hash
index 81e3bf0..7a51d46 100644
--- a/examples/string-functions/string-functions.hash
+++ b/examples/string-functions/string-functions.hash
@@ -1,2 +1,2 @@
-e52d4023b8102ba47f3f97e67e47da1bfe393e6c
-mdta6dlNB6e
+a8fc7e03fd17f6d432adf2f0e991461630ce4350
+DSKkoyx9Rcy
diff --git a/examples/variadic-functions/variadic-functions.go b/examples/variadic-functions/variadic-functions.go
index 02c67a5..68ffe0b 100644
--- a/examples/variadic-functions/variadic-functions.go
+++ b/examples/variadic-functions/variadic-functions.go
@@ -1,4 +1,4 @@
-// [_Variadic functions_](http://en.wikipedia.org/wiki/Variadic_function)
+// [_Variadic functions_](https://en.wikipedia.org/wiki/Variadic_function)
// can be called with any number of trailing arguments.
// For example, `fmt.Println` is a common variadic
// function.
diff --git a/examples/variadic-functions/variadic-functions.hash b/examples/variadic-functions/variadic-functions.hash
index 850311a..3c29574 100644
--- a/examples/variadic-functions/variadic-functions.hash
+++ b/examples/variadic-functions/variadic-functions.hash
@@ -1,2 +1,2 @@
-560aaef6ce8867710f3ef609b1bb2317377a71bf
-Ua6kZOMabBp
+dd2e819d49c1110c7eb7dc198b62e0994e0ba93e
+7_-i75JEsmM
diff --git a/public/arrays b/public/arrays
index f361bac..7a0b707 100644
--- a/public/arrays
+++ b/public/arrays
@@ -42,7 +42,7 @@ specific length.
- 
+ 
package main
|
diff --git a/public/atomic-counters b/public/atomic-counters
index 04a3094..6548101 100644
--- a/public/atomic-counters
+++ b/public/atomic-counters
@@ -46,7 +46,7 @@ counters accessed by multiple goroutines.
- 
+ 
package main
|
diff --git a/public/base64-encoding b/public/base64-encoding
index 3a5c44e..c2db003 100644
--- a/public/base64-encoding
+++ b/public/base64-encoding
@@ -27,7 +27,7 @@
- Go provides built-in support for base64
+ Go provides built-in support for base64
encoding/decoding.
|
@@ -42,7 +42,7 @@ encoding/decoding.
- 
+ 
package main
|
diff --git a/public/channel-buffering b/public/channel-buffering
index 46b8c3f..3975022 100644
--- a/public/channel-buffering
+++ b/public/channel-buffering
@@ -46,7 +46,7 @@ those values.
- 
+ 
package main
|
diff --git a/public/channel-directions b/public/channel-directions
index c13ade2..5695a28 100644
--- a/public/channel-directions
+++ b/public/channel-directions
@@ -44,7 +44,7 @@ the program.
- 
+ 
package main
|
diff --git a/public/channel-synchronization b/public/channel-synchronization
index 055ab83..9061590 100644
--- a/public/channel-synchronization
+++ b/public/channel-synchronization
@@ -45,7 +45,7 @@ you may prefer to use a WaitGroup.
- 
+ 
package main
|
diff --git a/public/channels b/public/channels
index 9c90f48..3b161a7 100644
--- a/public/channels
+++ b/public/channels
@@ -44,7 +44,7 @@ goroutine.
- 
+ 
package main
|
diff --git a/public/closing-channels b/public/closing-channels
index e4c94f5..d1fad4f 100644
--- a/public/closing-channels
+++ b/public/closing-channels
@@ -43,7 +43,7 @@ completion to the channel’s receivers.
- 
+ 
package main
|
diff --git a/public/closures b/public/closures
index 65fec27..8b8edd0 100644
--- a/public/closures
+++ b/public/closures
@@ -27,8 +27,8 @@
- Go supports anonymous functions,
-which can form closures.
+ Go supports anonymous functions,
+which can form closures.
Anonymous functions are useful when you want to define
a function inline without having to name it.
@@ -44,7 +44,7 @@ a function inline without having to name it.
|
- 
+ 
package main
|
diff --git a/public/command-line-arguments b/public/command-line-arguments
index 7632416..b0d5322 100644
--- a/public/command-line-arguments
+++ b/public/command-line-arguments
@@ -27,7 +27,7 @@
- Command-line arguments
+ Command-line arguments
are a common way to parameterize execution of programs.
For example, go run hello.go uses run and
hello.go arguments to the go program.
@@ -44,7 +44,7 @@ For example, go run hello.go uses run and
|
- 
+ 
package main
|
diff --git a/public/command-line-flags b/public/command-line-flags
index 6e5b46e..92e2f2e 100644
--- a/public/command-line-flags
+++ b/public/command-line-flags
@@ -27,7 +27,7 @@
- Command-line flags
+ Command-line flags
are a common way to specify options for command-line
programs. For example, in wc -l the -l is a
command-line flag.
@@ -44,7 +44,7 @@ command-line flag.
|
- 
+ 
package main
|
diff --git a/public/command-line-subcommands b/public/command-line-subcommands
index 81999ba..9ea0cba 100644
--- a/public/command-line-subcommands
+++ b/public/command-line-subcommands
@@ -46,7 +46,7 @@ subcommands that have their own flags.
- 
+ 
package main
|
diff --git a/public/constants b/public/constants
index 3123a00..0188473 100644
--- a/public/constants
+++ b/public/constants
@@ -42,7 +42,7 @@ and numeric values.
- 
+ 
package main
|
diff --git a/public/context b/public/context
index 227dfb8..59213e6 100644
--- a/public/context
+++ b/public/context
@@ -36,7 +36,7 @@ across API boundaries and goroutines.
- 
+ 
package main
diff --git a/public/defer b/public/defer
index 2ba790b..2e48c9e 100644
--- a/public/defer
+++ b/public/defer
@@ -44,7 +44,7 @@ purposes of cleanup. defer is often used where e.g.
|
- 
+ 
package main
|
diff --git a/public/directories b/public/directories
index 8d5ce65..bef7856 100644
--- a/public/directories
+++ b/public/directories
@@ -42,7 +42,7 @@
- 
+ 
package main
|
diff --git a/public/embed-directive b/public/embed-directive
index 4735bc6..7b41780 100644
--- a/public/embed-directive
+++ b/public/embed-directive
@@ -35,7 +35,7 @@ build time. Read more about the embed directive
- 
+ 
package main
diff --git a/public/environment-variables b/public/environment-variables
index a15776f..fb6a4a1 100644
--- a/public/environment-variables
+++ b/public/environment-variables
@@ -27,8 +27,8 @@
|
- Environment variables
-are a universal mechanism for conveying configuration
+ Environment variables
+are a universal mechanism for conveying configuration
information to Unix programs.
Let’s look at how to set, get, and list environment variables.
@@ -44,7 +44,7 @@ Let’s look at how to set, get, and list environment variables.
|
- 
+ 
package main
|
diff --git a/public/epoch b/public/epoch
index c0943c6..890b66e 100644
--- a/public/epoch
+++ b/public/epoch
@@ -29,7 +29,7 @@
A common requirement in programs is getting the number
of seconds, milliseconds, or nanoseconds since the
-Unix epoch.
+Unix epoch.
Here’s how to do it in Go.
|
@@ -44,7 +44,7 @@ Here’s how to do it in Go.
- 
+ 
package main
|
diff --git a/public/errors b/public/errors
index e7340a7..9444171 100644
--- a/public/errors
+++ b/public/errors
@@ -48,7 +48,7 @@ non-error tasks.
- 
+ 
package main
|
@@ -268,7 +268,7 @@ assertion.
- See this great post
+ See this great post
on the Go blog for more on error handling.
|
diff --git a/public/execing-processes b/public/execing-processes
index d8b7707..6e9c5a3 100644
--- a/public/execing-processes
+++ b/public/execing-processes
@@ -34,7 +34,7 @@ a running Go process. Sometimes we just want to
completely replace the current Go process with another
(perhaps non-Go) one. To do this we’ll use Go’s
implementation of the classic
-exec
+exec
function.
@@ -49,7 +49,7 @@ function.
- 
+ 
package main
|
diff --git a/public/exit b/public/exit
index c7bedc2..902ba78 100644
--- a/public/exit
+++ b/public/exit
@@ -38,7 +38,7 @@ status.
- 
+ 
package main
|
diff --git a/public/file-paths b/public/file-paths
index 6fc44c5..d129bde 100644
--- a/public/file-paths
+++ b/public/file-paths
@@ -34,7 +34,7 @@ between operating systems; dir/file
on Linux vs.
- 
+ 
package main
diff --git a/public/for b/public/for
index 903caba..e5b9674 100644
--- a/public/for
+++ b/public/for
@@ -42,7 +42,7 @@ some basic types of for loops.
|
- 
+ 
package main
|
diff --git a/public/functions b/public/functions
index edfa053..74e7302 100644
--- a/public/functions
+++ b/public/functions
@@ -42,7 +42,7 @@ functions with a few different examples.
- 
+ 
package main
|
diff --git a/public/generics b/public/generics
index 2a21093..6b4e6ec 100644
--- a/public/generics
+++ b/public/generics
@@ -42,7 +42,7 @@
- 
+ 
package main
|
diff --git a/public/goroutines b/public/goroutines
index c560f3e..957edc6 100644
--- a/public/goroutines
+++ b/public/goroutines
@@ -41,7 +41,7 @@
- 
+ 
package main
|
diff --git a/public/hello-world b/public/hello-world
index e580e04..6f28be4 100644
--- a/public/hello-world
+++ b/public/hello-world
@@ -28,7 +28,7 @@ message. Here’s the full source code.
- 
+ 
package main
diff --git a/public/http-clients b/public/http-clients
index 1d16148..596bba3 100644
--- a/public/http-clients
+++ b/public/http-clients
@@ -34,7 +34,7 @@ HTTP requests.
|
- 
+ 
package main
@@ -79,7 +79,7 @@ settings.
|
- resp, err := http.Get("http://gobyexample.com")
+ resp, err := http.Get("https://gobyexample.com")
if err != nil {
panic(err)
}
@@ -166,7 +166,7 @@ settings.
|