Fix lint errors (#1390)

* use increment and decrement operators.

* remove unnecessary else branches.

* fix package comment with leading space.

* fix receiver names.

* fix error strings.

* remove omittable code.

* remove redundant return statement.

* Revert changes (code is generated.)

* use cfg as receiver name for all config-related types.

* use lsi as the receiver name for the LastSignedInfo type.
This commit is contained in:
Thomas Corbière
2018-04-02 10:21:17 +02:00
committed by Anton Kaliaev
parent eaee98ee1f
commit 2644a529f0
40 changed files with 262 additions and 299 deletions

View File

@ -4,6 +4,7 @@
Usage:
wal2json <path-to-wal>
*/
package main
import (