mirror of https://github.com/golang/go.git
This CL begins adding a guide for the new APIs introduced with Go 1.18 to support writing tools that understand generic Go code. For now I've added a summary of the new APIs, an initial example, and some discussion of the typeparams package. Subsequent CLs will add more examples, and polish. Updates golang/go#50447 Change-Id: I4ed8d7a2f43e748374d14f3f515673d69ab2d5a0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/377834 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Trust: Dominik Honnef <dominik@honnef.co> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Suzy Mueller <suzmue@golang.org> |
||
|---|---|---|
| .. | ||
| example | ||
| genericfeatures | ||
| common.go | ||
| common_test.go | ||
| copytermlist.go | ||
| enabled_go117.go | ||
| enabled_go118.go | ||
| normalize.go | ||
| normalize_test.go | ||
| termlist.go | ||
| typeparams_go117.go | ||
| typeparams_go118.go | ||
| typeparams_test.go | ||
| typeterm.go | ||