diff options
-rw-r--r-- | content/posts/2022-01-17-generics-in-go-1.18.md | 10 |
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" |