From d7a1422f2484ad21eee8c3fa498181552285f8e3 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 13 Feb 2022 08:29:31 -0500 Subject: content/posts/2022-01-17-generics-in-go-1.18.md: add update about constraints pkg, add link to lwn article --- content/posts/2022-01-17-generics-in-go-1.18.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'content') 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" -- cgit v1.2.3