mirror of https://github.com/golang/go.git
This CL adjusts the genapijson program as the follow up of the command name change cls. The program loads the command list by parsing the source code and uses the result to compute the codelens list. Involved data types are also used for JSON marshalling, so I just update the command name after codelens list loading is done using the command data. Updates golang/go#41187 Fixes golang/go#41985 Change-Id: Ic5e818e11b09c649f462fe87dabee0be64c96c2a Reviewed-on: https://go-review.googlesource.com/c/tools/+/262354 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| generate.go | ||
| generate_test.go | ||