lnd.xprv/cmd/lncli
Olaoluwa Osuntokun 629d276409
cmd/lncli: use jsonpb to son pretty-printing to disable omitempty
This commit uses protobuf’s jsonpb library rather than the built-in
json/encoding library to print the JSOn representation of the responses
from gRPC. By using this library, we are now able to properly display
any values from the response which are “non-truthy” (0, false, etc).
2017-01-29 14:56:39 -08:00
..
commands.go cmd/lncli: use jsonpb to son pretty-printing to disable omitempty 2017-01-29 14:56:39 -08:00
main.go cmd/lncli: ensure gRPC client is closed after request 2017-01-29 14:51:42 -08:00