mirror of
https://github.com/golang/go
synced 2024-11-18 12:34:42 -07:00
5ea363182e
Our approach to commands and their arguments has been ad-hoc until this point. This CL creates a standard way of defining and passing the arguments to different commands. The arguments to a command are now json.RawMessages, so that we don't have to double encode. This also allows us to check the expected number of arguments without defining a struct for every command. Change-Id: Ic765c9b059e8ec3e1985046d13bf321be21f16ab Reviewed-on: https://go-review.googlesource.com/c/tools/+/242697 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
typescript | ||
context.go | ||
doc.go | ||
enums.go | ||
log.go | ||
protocol.go | ||
span.go | ||
tsclient.go | ||
tsprotocol.go | ||
tsserver.go |