cosmos-sdk/client
Dev Ojha 097dd8a164 tools: Add unparam linter (#1443)
* tools: Add unparam linter

unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.

There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.

* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -04:00
..
context Ledger integration (#931) 2018-06-29 02:54:47 +02:00
keys Ledger integration (#931) 2018-06-29 02:54:47 +02:00
lcd tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
rpc Ledger integration (#931) 2018-06-29 02:54:47 +02:00
tx Ledger integration (#931) 2018-06-29 02:54:47 +02:00
flags.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
input.go Merge PR #1227: Set all Error strings 1st letters to lowercase. Fixes issue #1154 2018-06-13 21:13:22 +02:00
keys.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00