cmd/cue: support type parameters in get go
Go type parameters are represented as their basic types in most cases, but
there are some more complicated areas which are not handled yet. These
cases are documented clearly as TODOs and may be good candidates for
improvement work in future. For now, this should unblock importing some
packages.
Fixes #2217
Change-Id: I5b4660ed3b8c6a11a1f135fe68ed55e966e371b1
Signed-off-by: Thomas Way <thomas@6f.io>
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1171015
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
authored by