Preparing report...

Report for github.com/IncSW/fifd

A+    Excellent!    Found 5 issues across 7 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!


gocyclo100%

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.

No problems detected. Good job!


golint28%

Golint is a linter for Go source code.

    • fifd/device.go
    • Line 3: warning: exported type Device should have comment or be unexported (golint)
    • Line 8: warning: exported method Device.GetValue should have comment or be unexported (golint)
    • fifd/matcher.go
    • Line 3: warning: exported type Matcher should have comment or be unexported (golint)
    • Line 136: warning: exported method Matcher.Match should have comment or be unexported (golint)
    • Line 150: warning: exported function NewMatcher should have comment or be unexported (golint)
    • fifd/reader.go
    • Line 10: warning: exported type Reader should have comment or be unexported (golint)
    • Line 24: warning: exported method Reader.MatchDevice should have comment or be unexported (golint)
    • Line 29: warning: exported function NewReaderFromFile should have comment or be unexported (golint)
    • Line 37: warning: exported function NewReader should have comment or be unexported (golint)
    • fifd/types.go
    • Line 3: warning: exported type Property should have comment or be unexported (golint)
    • Line 11: warning: exported type Node should have comment or be unexported (golint)
    • Line 21: warning: exported type NodeHash should have comment or be unexported (golint)
    • Line 32: warning: exported var POWERS should have comment or be unexported (golint)
    • fifd/test/51degrees/provider.go
    • Line 144: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 149: warning: don't use underscores in Go names; var Swig_escape_always_false should be SwigEscapeAlwaysFalse (golint)
    • Line 149: warning: exported var Swig_escape_always_false should have comment or be unexported (golint)
    • Line 150: warning: don't use underscores in Go names; var Swig_escape_val should be SwigEscapeVal (golint)
    • Line 150: warning: exported var Swig_escape_val should have comment or be unexported (golint)
    • Line 152: warning: don't use underscores in Go names; type _swig_fnptr should be _swigFnptr (golint)
    • Line 153: warning: don't use underscores in Go names; type _swig_memberptr should be _swigMemberptr (golint)
    • Line 157: warning: don't use underscores in Go names; type swig_gostring should be swigGostring (golint)
    • Line 169: warning: exported function Swig_free should have comment or be unexported (golint)
    • Line 169: warning: don't use underscores in Go names; func Swig_free should be SwigFree (golint)
    • Line 170: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 174: warning: exported function Swig_malloc should have comment or be unexported (golint)
    • Line 174: warning: don't use underscores in Go names; func Swig_malloc should be SwigMalloc (golint)
    • Line 174: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 175: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 176: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 181: warning: exported type SwigcptrMapStringString should have comment or be unexported (golint)
    • Line 183: warning: exported method SwigcptrMapStringString.Swigcptr should have comment or be unexported (golint)
    • Line 187: warning: exported method SwigcptrMapStringString.SwigIsMapStringString should have comment or be unexported (golint)
    • Line 190: warning: exported function NewMapStringString__SWIG_0 should have comment or be unexported (golint)
    • Line 190: warning: don't use underscores in Go names; func NewMapStringString__SWIG_0 should be NewMapStringStringSWIG0 (golint)
    • Line 190: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 191: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 196: warning: exported function NewMapStringString__SWIG_1 should have comment or be unexported (golint)
    • Line 196: warning: don't use underscores in Go names; func NewMapStringString__SWIG_1 should be NewMapStringStringSWIG1 (golint)
    • Line 196: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 197: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 198: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 203: warning: exported function NewMapStringString should have comment or be unexported (golint)
    • Line 214: warning: exported method SwigcptrMapStringString.Size should have comment or be unexported (golint)
    • Line 214: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 214: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 215: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 216: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 221: warning: exported method SwigcptrMapStringString.Empty should have comment or be unexported (golint)
    • Line 221: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 221: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 222: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 223: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 228: warning: exported method SwigcptrMapStringString.Clear should have comment or be unexported (golint)
    • Line 228: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 229: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 233: warning: exported method SwigcptrMapStringString.Get should have comment or be unexported (golint)
    • Line 233: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 233: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 234: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 235: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 236: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 237: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 242: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 247: warning: exported method SwigcptrMapStringString.Set should have comment or be unexported (golint)
    • Line 247: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 248: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 249: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 250: warning: don't use underscores in Go names; var _swig_i_2 should be _swigI2 (golint)
    • Line 260: warning: exported method SwigcptrMapStringString.Del should have comment or be unexported (golint)
    • Line 260: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 261: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 262: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 269: warning: exported method SwigcptrMapStringString.Has_key should have comment or be unexported (golint)
    • Line 269: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMapStringString (golint)
    • Line 269: warning: don't use underscores in Go names; method Has_key should be HasKey (golint)
    • Line 269: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 270: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 271: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 272: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 280: warning: exported function DeleteMapStringString should have comment or be unexported (golint)
    • Line 281: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 285: warning: exported type MapStringString should have comment or be unexported (golint)
    • Line 288: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 289: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 291: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 294: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 297: warning: exported type SwigcptrVectorString should have comment or be unexported (golint)
    • Line 299: warning: exported method SwigcptrVectorString.Swigcptr should have comment or be unexported (golint)
    • Line 303: warning: exported method SwigcptrVectorString.SwigIsVectorString should have comment or be unexported (golint)
    • Line 306: warning: exported function NewVectorString__SWIG_0 should have comment or be unexported (golint)
    • Line 306: warning: don't use underscores in Go names; func NewVectorString__SWIG_0 should be NewVectorStringSWIG0 (golint)
    • Line 306: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 307: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 312: warning: exported function NewVectorString__SWIG_1 should have comment or be unexported (golint)
    • Line 312: warning: don't use underscores in Go names; func NewVectorString__SWIG_1 should be NewVectorStringSWIG1 (golint)
    • Line 312: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 313: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 314: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 319: warning: exported function NewVectorString should have comment or be unexported (golint)
    • Line 330: warning: exported method SwigcptrVectorString.Size should have comment or be unexported (golint)
    • Line 330: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 330: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 331: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 332: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 337: warning: exported method SwigcptrVectorString.Capacity should have comment or be unexported (golint)
    • Line 337: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 337: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 338: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 339: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 344: warning: exported method SwigcptrVectorString.Reserve should have comment or be unexported (golint)
    • Line 344: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 345: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 346: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 350: warning: exported method SwigcptrVectorString.IsEmpty should have comment or be unexported (golint)
    • Line 350: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 350: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 351: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 352: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 357: warning: exported method SwigcptrVectorString.Clear should have comment or be unexported (golint)
    • Line 357: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 358: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 362: warning: exported method SwigcptrVectorString.Add should have comment or be unexported (golint)
    • Line 362: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 363: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 364: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 371: warning: exported method SwigcptrVectorString.Get should have comment or be unexported (golint)
    • Line 371: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 371: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 372: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 373: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 374: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 375: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 377: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 382: warning: exported method SwigcptrVectorString.Set should have comment or be unexported (golint)
    • Line 382: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrVectorString (golint)
    • Line 383: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 384: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 385: warning: don't use underscores in Go names; var _swig_i_2 should be _swigI2 (golint)
    • Line 392: warning: exported function DeleteVectorString should have comment or be unexported (golint)
    • Line 393: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 397: warning: exported type VectorString should have comment or be unexported (golint)
    • Line 400: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 401: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 403: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 406: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 410: warning: exported type SwigcptrMatch should have comment or be unexported (golint)
    • Line 412: warning: exported method SwigcptrMatch.Swigcptr should have comment or be unexported (golint)
    • Line 416: warning: exported method SwigcptrMatch.SwigIsMatch should have comment or be unexported (golint)
    • Line 419: warning: exported function DeleteMatch should have comment or be unexported (golint)
    • Line 420: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 424: warning: exported method SwigcptrMatch.GetValues__SWIG_0 should have comment or be unexported (golint)
    • Line 424: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 424: warning: don't use underscores in Go names; method GetValues__SWIG_0 should be GetValuesSWIG0 (golint)
    • Line 424: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 425: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 426: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 427: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 435: warning: exported method SwigcptrMatch.GetValues__SWIG_1 should have comment or be unexported (golint)
    • Line 435: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 435: warning: don't use underscores in Go names; method GetValues__SWIG_1 should be GetValuesSWIG1 (golint)
    • Line 435: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 436: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 437: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 438: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 443: warning: exported method SwigcptrMatch.GetValues should have comment or be unexported (golint)
    • Line 458: warning: exported method SwigcptrMatch.GetValue__SWIG_0 should have comment or be unexported (golint)
    • Line 458: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 458: warning: don't use underscores in Go names; method GetValue__SWIG_0 should be GetValueSWIG0 (golint)
    • Line 458: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 459: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 460: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 461: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 462: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 467: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 472: warning: exported method SwigcptrMatch.GetValue__SWIG_1 should have comment or be unexported (golint)
    • Line 472: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 472: warning: don't use underscores in Go names; method GetValue__SWIG_1 should be GetValueSWIG1 (golint)
    • Line 472: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 473: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 474: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 475: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 476: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 478: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 483: warning: exported method SwigcptrMatch.GetValue should have comment or be unexported (golint)
    • Line 498: warning: exported method SwigcptrMatch.GetValueAsBool__SWIG_0 should have comment or be unexported (golint)
    • Line 498: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 498: warning: don't use underscores in Go names; method GetValueAsBool__SWIG_0 should be GetValueAsBoolSWIG0 (golint)
    • Line 498: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 499: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 500: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 501: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 509: warning: exported method SwigcptrMatch.GetValueAsBool__SWIG_1 should have comment or be unexported (golint)
    • Line 509: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 509: warning: don't use underscores in Go names; method GetValueAsBool__SWIG_1 should be GetValueAsBoolSWIG1 (golint)
    • Line 509: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 510: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 511: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 512: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 517: warning: exported method SwigcptrMatch.GetValueAsBool should have comment or be unexported (golint)
    • Line 532: warning: exported method SwigcptrMatch.GetValueAsInteger__SWIG_0 should have comment or be unexported (golint)
    • Line 532: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 532: warning: don't use underscores in Go names; method GetValueAsInteger__SWIG_0 should be GetValueAsIntegerSWIG0 (golint)
    • Line 532: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 533: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 534: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 535: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 543: warning: exported method SwigcptrMatch.GetValueAsInteger__SWIG_1 should have comment or be unexported (golint)
    • Line 543: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 543: warning: don't use underscores in Go names; method GetValueAsInteger__SWIG_1 should be GetValueAsIntegerSWIG1 (golint)
    • Line 543: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 544: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 545: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 546: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 551: warning: exported method SwigcptrMatch.GetValueAsInteger should have comment or be unexported (golint)
    • Line 566: warning: exported method SwigcptrMatch.GetValueAsDouble__SWIG_0 should have comment or be unexported (golint)
    • Line 566: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 566: warning: don't use underscores in Go names; method GetValueAsDouble__SWIG_0 should be GetValueAsDoubleSWIG0 (golint)
    • Line 566: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 567: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 568: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 569: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 577: warning: exported method SwigcptrMatch.GetValueAsDouble__SWIG_1 should have comment or be unexported (golint)
    • Line 577: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 577: warning: don't use underscores in Go names; method GetValueAsDouble__SWIG_1 should be GetValueAsDoubleSWIG1 (golint)
    • Line 577: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 578: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 579: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 580: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 585: warning: exported method SwigcptrMatch.GetValueAsDouble should have comment or be unexported (golint)
    • Line 600: warning: exported method SwigcptrMatch.GetDeviceId should have comment or be unexported (golint)
    • Line 600: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 600: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 601: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 602: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 603: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 605: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 610: warning: exported method SwigcptrMatch.GetRank should have comment or be unexported (golint)
    • Line 610: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 610: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 611: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 612: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 617: warning: exported method SwigcptrMatch.GetDifference should have comment or be unexported (golint)
    • Line 617: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 617: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 618: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 619: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 624: warning: exported method SwigcptrMatch.GetMethod should have comment or be unexported (golint)
    • Line 624: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 624: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 625: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 626: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 631: warning: exported method SwigcptrMatch.GetUserAgent should have comment or be unexported (golint)
    • Line 631: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrMatch (golint)
    • Line 631: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 632: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 633: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 634: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 636: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 641: warning: exported type Match should have comment or be unexported (golint)
    • Line 649: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 650: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 651: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 652: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 653: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 656: warning: exported type SwigcptrProvider should have comment or be unexported (golint)
    • Line 658: warning: exported method SwigcptrProvider.Swigcptr should have comment or be unexported (golint)
    • Line 662: warning: exported method SwigcptrProvider.SwigIsProvider should have comment or be unexported (golint)
    • Line 665: warning: exported function NewProvider__SWIG_0 should have comment or be unexported (golint)
    • Line 665: warning: don't use underscores in Go names; func NewProvider__SWIG_0 should be NewProviderSWIG0 (golint)
    • Line 665: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 666: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 667: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 675: warning: exported function NewProvider__SWIG_1 should have comment or be unexported (golint)
    • Line 675: warning: don't use underscores in Go names; func NewProvider__SWIG_1 should be NewProviderSWIG1 (golint)
    • Line 675: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 676: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 677: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 678: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 689: warning: exported function NewProvider__SWIG_2 should have comment or be unexported (golint)
    • Line 689: warning: don't use underscores in Go names; func NewProvider__SWIG_2 should be NewProviderSWIG2 (golint)
    • Line 689: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 690: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 691: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 692: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 700: warning: exported function DeleteProvider should have comment or be unexported (golint)
    • Line 701: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 705: warning: exported method SwigcptrProvider.GetHttpHeaders should have comment or be unexported (golint)
    • Line 705: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 705: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 706: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 707: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 712: warning: exported method SwigcptrProvider.GetAvailableProperties should have comment or be unexported (golint)
    • Line 712: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 712: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 713: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 714: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 719: warning: exported method SwigcptrProvider.GetDataSetName should have comment or be unexported (golint)
    • Line 719: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 719: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 720: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 721: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 722: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 724: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 729: warning: exported method SwigcptrProvider.GetDataSetFormat should have comment or be unexported (golint)
    • Line 729: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 729: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 730: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 731: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 732: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 734: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 739: warning: exported method SwigcptrProvider.GetDataSetPublishedDate should have comment or be unexported (golint)
    • Line 739: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 739: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 740: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 741: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 742: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 744: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 749: warning: exported method SwigcptrProvider.GetDataSetNextUpdateDate should have comment or be unexported (golint)
    • Line 749: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 749: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 750: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 751: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 752: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 754: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 759: warning: exported method SwigcptrProvider.GetDataSetSignatureCount should have comment or be unexported (golint)
    • Line 759: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 759: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 760: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 761: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 766: warning: exported method SwigcptrProvider.GetDataSetDeviceCombinations should have comment or be unexported (golint)
    • Line 766: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 766: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 767: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 768: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 773: warning: exported method SwigcptrProvider.GetMatch__SWIG_0 should have comment or be unexported (golint)
    • Line 773: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 773: warning: don't use underscores in Go names; method GetMatch__SWIG_0 should be GetMatchSWIG0 (golint)
    • Line 773: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 774: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 775: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 776: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 784: warning: exported method SwigcptrProvider.GetMatch__SWIG_1 should have comment or be unexported (golint)
    • Line 784: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 784: warning: don't use underscores in Go names; method GetMatch__SWIG_1 should be GetMatchSWIG1 (golint)
    • Line 784: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 785: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 786: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 787: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 792: warning: exported method SwigcptrProvider.GetMatch should have comment or be unexported (golint)
    • Line 807: warning: exported method SwigcptrProvider.GetMatchWithTolerances__SWIG_0 should have comment or be unexported (golint)
    • Line 807: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 807: warning: don't use underscores in Go names; method GetMatchWithTolerances__SWIG_0 should be GetMatchWithTolerancesSWIG0 (golint)
    • Line 807: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 808: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 809: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 810: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 811: warning: don't use underscores in Go names; var _swig_i_2 should be _swigI2 (golint)
    • Line 812: warning: don't use underscores in Go names; var _swig_i_3 should be _swigI3 (golint)
    • Line 820: warning: exported method SwigcptrProvider.GetMatchWithTolerances__SWIG_1 should have comment or be unexported (golint)
    • Line 820: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 820: warning: don't use underscores in Go names; method GetMatchWithTolerances__SWIG_1 should be GetMatchWithTolerancesSWIG1 (golint)
    • Line 820: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 821: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 822: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 823: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 824: warning: don't use underscores in Go names; var _swig_i_2 should be _swigI2 (golint)
    • Line 825: warning: don't use underscores in Go names; var _swig_i_3 should be _swigI3 (golint)
    • Line 830: warning: exported method SwigcptrProvider.GetMatchWithTolerances should have comment or be unexported (golint)
    • Line 845: warning: exported method SwigcptrProvider.GetMatchJson__SWIG_0 should have comment or be unexported (golint)
    • Line 845: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 845: warning: don't use underscores in Go names; method GetMatchJson__SWIG_0 should be GetMatchJSONSWIG0 (golint)
    • Line 845: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 846: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 847: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 848: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 849: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 854: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 859: warning: exported method SwigcptrProvider.GetMatchJson__SWIG_1 should have comment or be unexported (golint)
    • Line 859: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 859: warning: don't use underscores in Go names; method GetMatchJson__SWIG_1 should be GetMatchJSONSWIG1 (golint)
    • Line 859: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 860: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 861: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 862: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 863: warning: don't use underscores in Go names; var swig_r_p should be swigRP (golint)
    • Line 865: warning: don't use underscores in Go names; var swig_r_1 should be swigR1 (golint)
    • Line 870: warning: exported method SwigcptrProvider.GetMatchJson should have comment or be unexported (golint)
    • Line 885: warning: exported method SwigcptrProvider.SetDrift should have comment or be unexported (golint)
    • Line 885: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 886: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 887: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 891: warning: exported method SwigcptrProvider.SetDifference should have comment or be unexported (golint)
    • Line 891: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 892: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 893: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 897: warning: exported method SwigcptrProvider.ReloadFromFile should have comment or be unexported (golint)
    • Line 897: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 898: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 902: warning: exported method SwigcptrProvider.ReloadFromMemory should have comment or be unexported (golint)
    • Line 902: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 903: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 904: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 905: warning: don't use underscores in Go names; var _swig_i_2 should be _swigI2 (golint)
    • Line 909: warning: exported method SwigcptrProvider.GetIsThreadSafe should have comment or be unexported (golint)
    • Line 909: warning: receiver name arg1 should be consistent with previous receiver name p for SwigcptrProvider (golint)
    • Line 909: warning: don't use underscores in Go names; method result _swig_ret should be _swigRet (golint)
    • Line 910: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 911: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 916: warning: exported function NewProvider__SWIG_3 should have comment or be unexported (golint)
    • Line 916: warning: don't use underscores in Go names; func NewProvider__SWIG_3 should be NewProviderSWIG3 (golint)
    • Line 916: warning: don't use underscores in Go names; func result _swig_ret should be _swigRet (golint)
    • Line 917: warning: don't use underscores in Go names; var swig_r should be swigR (golint)
    • Line 918: warning: don't use underscores in Go names; var _swig_i_0 should be _swigI0 (golint)
    • Line 919: warning: don't use underscores in Go names; var _swig_i_1 should be _swigI1 (golint)
    • Line 920: warning: don't use underscores in Go names; var _swig_i_2 should be _swigI2 (golint)
    • Line 931: warning: exported function NewProvider should have comment or be unexported (golint)
    • Line 952: warning: exported type Provider should have comment or be unexported (golint)
    • Line 955: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 956: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 957: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 958: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 959: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 960: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 961: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 962: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)
    • Line 970: warning: don't use underscores in Go names; interface method result _swig_ret should be _swigRet (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!