Preparing report...

Report for github.com/segmentio/objconv

A+    Excellent!    Found 20 issues across 76 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo92%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • objconv/json/parse.go
    • Line 142: warning: cyclomatic complexity 24 of function (*Parser).ParseString() is high (> 15) (gocyclo)
    • Line 44: warning: cyclomatic complexity 17 of function (*Parser).ParseType() is high (> 15) (gocyclo)
    • objconv/encode.go
    • Line 38: warning: cyclomatic complexity 62 of function (Encoder).Encode() is high (> 15) (gocyclo)
    • Line 828: warning: cyclomatic complexity 49 of function makeEncodeFunc() is high (> 15) (gocyclo)
    • objconv/decode.go
    • Line 1429: warning: cyclomatic complexity 34 of function makeDecodeFunc() is high (> 15) (gocyclo)
    • Line 218: warning: cyclomatic complexity 26 of function (Decoder).decodeUintFromType() is high (> 15) (gocyclo)
    • Line 122: warning: cyclomatic complexity 26 of function (Decoder).decodeIntFromType() is high (> 15) (gocyclo)
    • Line 387: warning: cyclomatic complexity 22 of function (Decoder).decodeStringFromType() is high (> 15) (gocyclo)
    • Line 314: warning: cyclomatic complexity 18 of function (Decoder).decodeFloatFromType() is high (> 15) (gocyclo)
    • Line 1047: warning: cyclomatic complexity 16 of function (Decoder).decodeInterfaceFromType() is high (> 15) (gocyclo)
    • objconv/value.go
    • Line 162: warning: cyclomatic complexity 17 of function (*ValueParser).ParseType() is high (> 15) (gocyclo)

golint75%

Golint is a linter for Go source code.

    • objconv/yaml/emit.go
    • Line 20: warning: exported function NewEmitter should have comment or be unexported (golint)
    • Line 24: warning: exported method Emitter.Reset should have comment or be unexported (golint)
    • Line 29: warning: exported method Emitter.EmitNil should have comment or be unexported (golint)
    • Line 33: warning: exported method Emitter.EmitBool should have comment or be unexported (golint)
    • Line 37: warning: exported method Emitter.EmitInt should have comment or be unexported (golint)
    • Line 41: warning: exported method Emitter.EmitUint should have comment or be unexported (golint)
    • Line 45: warning: exported method Emitter.EmitFloat should have comment or be unexported (golint)
    • Line 49: warning: exported method Emitter.EmitString should have comment or be unexported (golint)
    • Line 53: warning: exported method Emitter.EmitBytes should have comment or be unexported (golint)
    • Line 57: warning: exported method Emitter.EmitTime should have comment or be unexported (golint)
    • Line 61: warning: exported method Emitter.EmitDuration should have comment or be unexported (golint)
    • Line 65: warning: exported method Emitter.EmitError should have comment or be unexported (golint)
    • Line 69: warning: exported method Emitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 74: warning: exported method Emitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 79: warning: exported method Emitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 83: warning: exported method Emitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 88: warning: exported method Emitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 93: warning: exported method Emitter.EmitMapValue should have comment or be unexported (golint)
    • Line 97: warning: exported method Emitter.EmitMapNext should have comment or be unexported (golint)
    • Line 101: warning: exported method Emitter.TextEmitter should have comment or be unexported (golint)
    • objconv/yaml/parse.go
    • Line 16: warning: exported type Parser should have comment or be unexported (golint)
    • Line 24: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 28: warning: exported method Parser.Reset should have comment or be unexported (golint)
    • Line 34: warning: exported method Parser.Buffered should have comment or be unexported (golint)
    • Line 38: warning: exported method Parser.ParseType should have comment or be unexported (golint)
    • Line 87: warning: exported method Parser.ParseNil should have comment or be unexported (golint)
    • Line 92: warning: exported method Parser.ParseBool should have comment or be unexported (golint)
    • Line 97: warning: exported method Parser.ParseInt should have comment or be unexported (golint)
    • Line 107: warning: exported method Parser.ParseUint should have comment or be unexported (golint)
    • Line 112: warning: exported method Parser.ParseFloat should have comment or be unexported (golint)
    • Line 117: warning: exported method Parser.ParseString should have comment or be unexported (golint)
    • Line 130: warning: exported method Parser.ParseBytes should have comment or be unexported (golint)
    • Line 134: warning: exported method Parser.ParseTime should have comment or be unexported (golint)
    • Line 138: warning: exported method Parser.ParseDuration should have comment or be unexported (golint)
    • Line 142: warning: exported method Parser.ParseError should have comment or be unexported (golint)
    • Line 146: warning: exported method Parser.ParseArrayBegin should have comment or be unexported (golint)
    • Line 153: warning: exported method Parser.ParseArrayEnd should have comment or be unexported (golint)
    • Line 158: warning: exported method Parser.ParseArrayNext should have comment or be unexported (golint)
    • Line 163: warning: exported method Parser.ParseMapBegin should have comment or be unexported (golint)
    • Line 170: warning: exported method Parser.ParseMapEnd should have comment or be unexported (golint)
    • Line 175: warning: exported method Parser.ParseMapValue should have comment or be unexported (golint)
    • Line 180: warning: exported method Parser.ParseMapNext should have comment or be unexported (golint)
    • Line 185: warning: exported method Parser.TextParser should have comment or be unexported (golint)
    • Line 189: warning: exported method Parser.DecodeBytes should have comment or be unexported (golint)
    • objconv/msgpack/emit.go
    • Line 36: warning: exported function NewEmitter should have comment or be unexported (golint)
    • Line 42: warning: exported method Emitter.Reset should have comment or be unexported (golint)
    • Line 47: warning: exported method Emitter.EmitNil should have comment or be unexported (golint)
    • Line 53: warning: exported method Emitter.EmitBool should have comment or be unexported (golint)
    • Line 63: warning: exported method Emitter.EmitInt should have comment or be unexported (golint)
    • Line 120: warning: exported method Emitter.EmitUint should have comment or be unexported (golint)
    • Line 149: warning: exported method Emitter.EmitFloat should have comment or be unexported (golint)
    • Line 163: warning: exported method Emitter.EmitString should have comment or be unexported (golint)
    • Line 214: warning: exported method Emitter.EmitBytes should have comment or be unexported (golint)
    • Line 246: warning: exported method Emitter.EmitTime should have comment or be unexported (golint)
    • Line 277: warning: exported method Emitter.EmitDuration should have comment or be unexported (golint)
    • Line 281: warning: exported method Emitter.EmitError should have comment or be unexported (golint)
    • Line 285: warning: exported method Emitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 302: warning: exported method Emitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 324: warning: exported method Emitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 331: warning: exported method Emitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 361: warning: exported method Emitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 365: warning: exported method Emitter.EmitMapValue should have comment or be unexported (golint)
    • Line 369: warning: exported method Emitter.EmitMapNext should have comment or be unexported (golint)
    • objconv/msgpack/parse.go
    • Line 13: warning: exported type Parser should have comment or be unexported (golint)
    • Line 21: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 25: warning: exported method Parser.Reset should have comment or be unexported (golint)
    • Line 31: warning: exported method Parser.Buffered should have comment or be unexported (golint)
    • Line 35: warning: exported method Parser.ParseType should have comment or be unexported (golint)
    • Line 127: warning: exported method Parser.ParseNil should have comment or be unexported (golint)
    • Line 132: warning: exported method Parser.ParseBool should have comment or be unexported (golint)
    • Line 138: warning: exported method Parser.ParseInt should have comment or be unexported (golint)
    • Line 182: warning: exported method Parser.ParseUint should have comment or be unexported (golint)
    • Line 219: warning: exported method Parser.ParseFloat should have comment or be unexported (golint)
    • Line 248: warning: exported method Parser.ParseString should have comment or be unexported (golint)
    • Line 286: warning: exported method Parser.ParseBytes should have comment or be unexported (golint)
    • Line 319: warning: exported method Parser.ParseTime should have comment or be unexported (golint)
    • Line 369: warning: exported method Parser.ParseDuration should have comment or be unexported (golint)
    • Line 373: warning: exported method Parser.ParseError should have comment or be unexported (golint)
    • Line 377: warning: exported method Parser.ParseArrayBegin should have comment or be unexported (golint)
    • Line 410: warning: exported method Parser.ParseArrayEnd should have comment or be unexported (golint)
    • Line 414: warning: exported method Parser.ParseArrayNext should have comment or be unexported (golint)
    • Line 418: warning: exported method Parser.ParseMapBegin should have comment or be unexported (golint)
    • Line 451: warning: exported method Parser.ParseMapEnd should have comment or be unexported (golint)
    • Line 455: warning: exported method Parser.ParseMapValue should have comment or be unexported (golint)
    • Line 459: warning: exported method Parser.ParseMapNext should have comment or be unexported (golint)
    • objconv/cbor/emit.go
    • Line 25: warning: exported function NewEmitter should have comment or be unexported (golint)
    • Line 31: warning: exported method Emitter.Reset should have comment or be unexported (golint)
    • Line 36: warning: exported method Emitter.EmitNil should have comment or be unexported (golint)
    • Line 42: warning: exported method Emitter.EmitBool should have comment or be unexported (golint)
    • Line 52: warning: exported method Emitter.EmitInt should have comment or be unexported (golint)
    • Line 59: warning: exported method Emitter.EmitUint should have comment or be unexported (golint)
    • Line 63: warning: exported method Emitter.EmitFloat should have comment or be unexported (golint)
    • Line 80: warning: exported method Emitter.EmitString should have comment or be unexported (golint)
    • Line 94: warning: exported method Emitter.EmitBytes should have comment or be unexported (golint)
    • Line 104: warning: exported method Emitter.EmitTime should have comment or be unexported (golint)
    • Line 122: warning: exported method Emitter.EmitDuration should have comment or be unexported (golint)
    • Line 126: warning: exported method Emitter.EmitError should have comment or be unexported (golint)
    • Line 130: warning: exported method Emitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 142: warning: exported method Emitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 154: warning: exported method Emitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 158: warning: exported method Emitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 170: warning: exported method Emitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 182: warning: exported method Emitter.EmitMapValue should have comment or be unexported (golint)
    • Line 186: warning: exported method Emitter.EmitMapNext should have comment or be unexported (golint)
    • objconv/objtests/test_codec.go
    • Line 19: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 194: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • objconv/json/parse.go
    • Line 19: warning: exported type Parser should have comment or be unexported (golint)
    • Line 28: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 34: warning: exported method Parser.Reset should have comment or be unexported (golint)
    • Line 40: warning: exported method Parser.Buffered should have comment or be unexported (golint)
    • Line 44: warning: exported method Parser.ParseType should have comment or be unexported (golint)
    • Line 97: warning: exported method Parser.ParseNil should have comment or be unexported (golint)
    • Line 101: warning: exported method Parser.ParseBool should have comment or be unexported (golint)
    • Line 122: warning: exported method Parser.ParseInt should have comment or be unexported (golint)
    • Line 130: warning: exported method Parser.ParseUint should have comment or be unexported (golint)
    • Line 134: warning: exported method Parser.ParseFloat should have comment or be unexported (golint)
    • Line 142: warning: exported method Parser.ParseString should have comment or be unexported (golint)
    • Line 233: warning: exported method Parser.ParseBytes should have comment or be unexported (golint)
    • Line 237: warning: exported method Parser.ParseTime should have comment or be unexported (golint)
    • Line 241: warning: exported method Parser.ParseDuration should have comment or be unexported (golint)
    • Line 245: warning: exported method Parser.ParseError should have comment or be unexported (golint)
    • Line 249: warning: exported method Parser.ParseArrayBegin should have comment or be unexported (golint)
    • Line 253: warning: exported method Parser.ParseArrayEnd should have comment or be unexported (golint)
    • Line 260: warning: exported method Parser.ParseArrayNext should have comment or be unexported (golint)
    • Line 285: warning: exported method Parser.ParseMapBegin should have comment or be unexported (golint)
    • Line 289: warning: exported method Parser.ParseMapEnd should have comment or be unexported (golint)
    • Line 296: warning: exported method Parser.ParseMapValue should have comment or be unexported (golint)
    • Line 303: warning: exported method Parser.ParseMapNext should have comment or be unexported (golint)
    • Line 328: warning: exported method Parser.TextParser should have comment or be unexported (golint)
    • Line 332: warning: exported method Parser.DecodeBytes should have comment or be unexported (golint)
    • objconv/cbor/cbor.go
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • objconv/resp/emit.go
    • Line 52: warning: exported function NewEmitter should have comment or be unexported (golint)
    • Line 59: warning: exported method Emitter.Reset should have comment or be unexported (golint)
    • Line 75: warning: exported method Emitter.EmitNil should have comment or be unexported (golint)
    • Line 80: warning: exported method Emitter.EmitBool should have comment or be unexported (golint)
    • Line 89: warning: exported method Emitter.EmitInt should have comment or be unexported (golint)
    • Line 101: warning: exported method Emitter.EmitUint should have comment or be unexported (golint)
    • Line 117: warning: exported method Emitter.EmitFloat should have comment or be unexported (golint)
    • Line 129: warning: exported method Emitter.EmitString should have comment or be unexported (golint)
    • Line 149: warning: exported method Emitter.EmitBytes should have comment or be unexported (golint)
    • Line 179: warning: exported method Emitter.EmitTime should have comment or be unexported (golint)
    • Line 191: warning: exported method Emitter.EmitDuration should have comment or be unexported (golint)
    • Line 203: warning: exported method Emitter.EmitError should have comment or be unexported (golint)
    • Line 220: warning: exported method Emitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 237: warning: exported method Emitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 259: warning: exported method Emitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 266: warning: exported method Emitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 270: warning: exported method Emitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 274: warning: exported method Emitter.EmitMapValue should have comment or be unexported (golint)
    • Line 278: warning: exported method Emitter.EmitMapNext should have comment or be unexported (golint)
    • Line 339: warning: exported function NewClientEmitter should have comment or be unexported (golint)
    • Line 347: warning: exported method ClientEmitter.EmitBool should have comment or be unexported (golint)
    • Line 357: warning: exported method ClientEmitter.EmitInt should have comment or be unexported (golint)
    • Line 363: warning: exported method ClientEmitter.EmitUint should have comment or be unexported (golint)
    • Line 369: warning: exported method ClientEmitter.EmitFloat should have comment or be unexported (golint)
    • Line 375: warning: exported method ClientEmitter.EmitString should have comment or be unexported (golint)
    • Line 390: warning: exported method ClientEmitter.EmitTime should have comment or be unexported (golint)
    • Line 394: warning: exported method ClientEmitter.EmitDuration should have comment or be unexported (golint)
    • Line 398: warning: exported method ClientEmitter.EmitError should have comment or be unexported (golint)
    • objconv/value.go
    • Line 17: warning: exported const Unknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 162: warning: exported method ValueParser.ParseType should have comment or be unexported (golint)
    • Line 220: warning: exported method ValueParser.ParseNil should have comment or be unexported (golint)
    • Line 224: warning: exported method ValueParser.ParseBool should have comment or be unexported (golint)
    • Line 229: warning: exported method ValueParser.ParseInt should have comment or be unexported (golint)
    • Line 234: warning: exported method ValueParser.ParseUint should have comment or be unexported (golint)
    • Line 239: warning: exported method ValueParser.ParseFloat should have comment or be unexported (golint)
    • Line 244: warning: exported method ValueParser.ParseString should have comment or be unexported (golint)
    • Line 249: warning: exported method ValueParser.ParseBytes should have comment or be unexported (golint)
    • Line 254: warning: exported method ValueParser.ParseTime should have comment or be unexported (golint)
    • Line 259: warning: exported method ValueParser.ParseDuration should have comment or be unexported (golint)
    • Line 264: warning: exported method ValueParser.ParseError should have comment or be unexported (golint)
    • Line 269: warning: exported method ValueParser.ParseArrayBegin should have comment or be unexported (golint)
    • Line 281: warning: exported method ValueParser.ParseArrayEnd should have comment or be unexported (golint)
    • Line 289: warning: exported method ValueParser.ParseArrayNext should have comment or be unexported (golint)
    • Line 296: warning: exported method ValueParser.ParseMapBegin should have comment or be unexported (golint)
    • Line 326: warning: exported method ValueParser.ParseMapEnd should have comment or be unexported (golint)
    • Line 334: warning: exported method ValueParser.ParseMapValue should have comment or be unexported (golint)
    • Line 347: warning: exported method ValueParser.ParseMapNext should have comment or be unexported (golint)
    • Line 422: warning: exported method ValueEmitter.EmitNil should have comment or be unexported (golint)
    • Line 424: warning: exported method ValueEmitter.EmitBool should have comment or be unexported (golint)
    • Line 426: warning: exported method ValueEmitter.EmitInt should have comment or be unexported (golint)
    • Line 428: warning: exported method ValueEmitter.EmitUint should have comment or be unexported (golint)
    • Line 430: warning: exported method ValueEmitter.EmitFloat should have comment or be unexported (golint)
    • Line 432: warning: exported method ValueEmitter.EmitString should have comment or be unexported (golint)
    • Line 434: warning: exported method ValueEmitter.EmitBytes should have comment or be unexported (golint)
    • Line 436: warning: exported method ValueEmitter.EmitTime should have comment or be unexported (golint)
    • Line 438: warning: exported method ValueEmitter.EmitDuration should have comment or be unexported (golint)
    • Line 440: warning: exported method ValueEmitter.EmitError should have comment or be unexported (golint)
    • Line 442: warning: exported method ValueEmitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 444: warning: exported method ValueEmitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 451: warning: exported method ValueEmitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 453: warning: exported method ValueEmitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 455: warning: exported method ValueEmitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 467: warning: exported method ValueEmitter.EmitMapValue should have comment or be unexported (golint)
    • Line 469: warning: exported method ValueEmitter.EmitMapNext should have comment or be unexported (golint)
    • objconv/cbor/parse.go
    • Line 14: warning: exported type Parser should have comment or be unexported (golint)
    • Line 31: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 38: warning: exported method Parser.Reset should have comment or be unexported (golint)
    • Line 46: warning: exported method Parser.Buffered should have comment or be unexported (golint)
    • Line 50: warning: exported method Parser.ParseType should have comment or be unexported (golint)
    • Line 128: warning: exported method Parser.ParseNil should have comment or be unexported (golint)
    • Line 134: warning: exported method Parser.ParseBool should have comment or be unexported (golint)
    • Line 146: warning: exported method Parser.ParseInt should have comment or be unexported (golint)
    • Line 164: warning: exported method Parser.ParseUint should have comment or be unexported (golint)
    • Line 180: warning: exported method Parser.ParseFloat should have comment or be unexported (golint)
    • Line 216: warning: exported method Parser.ParseString should have comment or be unexported (golint)
    • Line 224: warning: exported method Parser.ParseBytes should have comment or be unexported (golint)
    • Line 232: warning: exported method Parser.ParseTime should have comment or be unexported (golint)
    • Line 285: warning: exported method Parser.ParseDuration should have comment or be unexported (golint)
    • Line 289: warning: exported method Parser.ParseError should have comment or be unexported (golint)
    • Line 293: warning: exported method Parser.ParseArrayBegin should have comment or be unexported (golint)
    • Line 316: warning: exported method Parser.ParseArrayEnd should have comment or be unexported (golint)
    • Line 321: warning: exported method Parser.ParseArrayNext should have comment or be unexported (golint)
    • Line 336: warning: exported method Parser.ParseMapBegin should have comment or be unexported (golint)
    • Line 359: warning: exported method Parser.ParseMapEnd should have comment or be unexported (golint)
    • Line 364: warning: exported method Parser.ParseMapValue should have comment or be unexported (golint)
    • Line 368: warning: exported method Parser.ParseMapNext should have comment or be unexported (golint)
    • objconv/resp/parse.go
    • Line 18: warning: exported type Parser should have comment or be unexported (golint)
    • Line 27: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 31: warning: exported method Parser.Reset should have comment or be unexported (golint)
    • Line 37: warning: exported method Parser.Buffered should have comment or be unexported (golint)
    • Line 41: warning: exported method Parser.ParseType should have comment or be unexported (golint)
    • Line 84: warning: exported method Parser.ParseNil should have comment or be unexported (golint)
    • Line 113: warning: exported method Parser.ParseBool should have comment or be unexported (golint)
    • Line 117: warning: exported method Parser.ParseInt should have comment or be unexported (golint)
    • Line 144: warning: exported method Parser.ParseUint should have comment or be unexported (golint)
    • Line 148: warning: exported method Parser.ParseFloat should have comment or be unexported (golint)
    • Line 152: warning: exported method Parser.ParseString should have comment or be unexported (golint)
    • Line 176: warning: exported method Parser.ParseBytes should have comment or be unexported (golint)
    • Line 208: warning: exported method Parser.ParseTime should have comment or be unexported (golint)
    • Line 212: warning: exported method Parser.ParseDuration should have comment or be unexported (golint)
    • Line 216: warning: exported method Parser.ParseError should have comment or be unexported (golint)
    • Line 240: warning: exported method Parser.ParseArrayBegin should have comment or be unexported (golint)
    • Line 269: warning: exported method Parser.ParseArrayEnd should have comment or be unexported (golint)
    • Line 273: warning: exported method Parser.ParseArrayNext should have comment or be unexported (golint)
    • Line 277: warning: exported method Parser.ParseMapBegin should have comment or be unexported (golint)
    • Line 281: warning: exported method Parser.ParseMapEnd should have comment or be unexported (golint)
    • Line 285: warning: exported method Parser.ParseMapValue should have comment or be unexported (golint)
    • Line 289: warning: exported method Parser.ParseMapNext should have comment or be unexported (golint)
    • objconv/json/emit.go
    • Line 41: warning: exported function NewEmitter should have comment or be unexported (golint)
    • Line 47: warning: exported method Emitter.Reset should have comment or be unexported (golint)
    • Line 51: warning: exported method Emitter.EmitNil should have comment or be unexported (golint)
    • Line 56: warning: exported method Emitter.EmitBool should have comment or be unexported (golint)
    • Line 65: warning: exported method Emitter.EmitInt should have comment or be unexported (golint)
    • Line 70: warning: exported method Emitter.EmitUint should have comment or be unexported (golint)
    • Line 75: warning: exported method Emitter.EmitFloat should have comment or be unexported (golint)
    • Line 92: warning: exported method Emitter.EmitString should have comment or be unexported (golint)
    • Line 138: warning: exported method Emitter.EmitBytes should have comment or be unexported (golint)
    • Line 156: warning: exported method Emitter.EmitTime should have comment or be unexported (golint)
    • Line 168: warning: exported method Emitter.EmitDuration should have comment or be unexported (golint)
    • Line 180: warning: exported method Emitter.EmitError should have comment or be unexported (golint)
    • Line 184: warning: exported method Emitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 189: warning: exported method Emitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 194: warning: exported method Emitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 199: warning: exported method Emitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 204: warning: exported method Emitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 209: warning: exported method Emitter.EmitMapValue should have comment or be unexported (golint)
    • Line 214: warning: exported method Emitter.EmitMapNext should have comment or be unexported (golint)
    • Line 219: warning: exported method Emitter.TextEmitter should have comment or be unexported (golint)
    • Line 223: warning: exported method Emitter.PrettyEmitter should have comment or be unexported (golint)
    • Line 234: warning: exported type PrettyEmitter should have comment or be unexported (golint)
    • Line 241: warning: exported function NewPrettyEmitter should have comment or be unexported (golint)
    • Line 249: warning: exported method PrettyEmitter.Reset should have comment or be unexported (golint)
    • Line 255: warning: exported method PrettyEmitter.EmitArrayBegin should have comment or be unexported (golint)
    • Line 265: warning: exported method PrettyEmitter.EmitArrayEnd should have comment or be unexported (golint)
    • Line 274: warning: exported method PrettyEmitter.EmitArrayNext should have comment or be unexported (golint)
    • Line 281: warning: exported method PrettyEmitter.EmitMapBegin should have comment or be unexported (golint)
    • Line 291: warning: exported method PrettyEmitter.EmitMapEnd should have comment or be unexported (golint)
    • Line 300: warning: exported method PrettyEmitter.EmitMapValue should have comment or be unexported (golint)
    • Line 308: warning: exported method PrettyEmitter.EmitMapNext should have comment or be unexported (golint)
    • Line 315: warning: exported method PrettyEmitter.TextEmitter should have comment or be unexported (golint)
    • objconv/decode.go
    • Line 1317: warning: comment on exported method StreamDecoder.Decode should be of the form "Decode ..." (golint)
    • objconv/encode.go
    • Line 323: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words