aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-13 08:29:31 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-13 08:29:31 -0500
commitd7a1422f2484ad21eee8c3fa498181552285f8e3 (patch)
tree6dc2c011db614a6badd15dae613a1d78efc4579a /content
parent94a2739c895a125a26606dc2307319252ef3b197 (diff)
downloadpablotron.org-d7a1422f2484ad21eee8c3fa498181552285f8e3.tar.bz2
pablotron.org-d7a1422f2484ad21eee8c3fa498181552285f8e3.zip
content/posts/2022-01-17-generics-in-go-1.18.md: add update about constraints pkg, add link to lwn article
Diffstat (limited to 'content')
-rw-r--r--content/posts/2022-01-17-generics-in-go-1.18.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/posts/2022-01-17-generics-in-go-1.18.md b/content/posts/2022-01-17-generics-in-go-1.18.md
index 8ba610e..8c616e3 100644
--- a/content/posts/2022-01-17-generics-in-go-1.18.md
+++ b/content/posts/2022-01-17-generics-in-go-1.18.md
@@ -310,6 +310,10 @@ Other useful tidbits:
**Update (2021-01-19):** Minor wording changes, add information about
tilde prefixes in type constraints.
+**Update (2021-02-13):** The `constraints` package was [moved to
+`x/exp` for Go 1.18][constraints-exp]. [LWN][] has an [excellent
+summary of Go 1.18][lwn-go-1.18].
+
[go]: https://go.dev/
"Go programming language"
[go 1.18]: https://tip.golang.org/doc/go1.18
@@ -330,3 +334,9 @@ tilde prefixes in type constraints.
"Type constraints section of Go specification."
[go spec]: https://tip.golang.org/ref/spec
"Go language specification."
+[constraints-exp]: https://github.com/golang/go/issues/50792
+ "constraints: move to x/exp for Go 1.18"
+[lwn]: https://lwn.net/
+ "Linux Weekly News"
+[lwn-go-1.18]: https://lwn.net/Articles/883602/
+ "What's coming in Go 1.18"