Preparing report...

Report for github.com/awalterschulze/goderive

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


gocyclo90%

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.

    • goderive/plugin/equal/equal.go
    • Line 177: warning: cyclomatic complexity 29 of function (*gen).genStatement() is high (> 15) (gocyclo)
    • Line 424: warning: cyclomatic complexity 19 of function (*gen).field() is high (> 15) (gocyclo)
    • goderive/plugin/hash/hash.go
    • Line 116: warning: cyclomatic complexity 27 of function (*gen).genStatement() is high (> 15) (gocyclo)
    • Line 309: warning: cyclomatic complexity 20 of function (*gen).field() is high (> 15) (gocyclo)

golint82%

Golint is a linter for Go source code.

    • goderive/plugin/hash/hash.go
    • Line 177: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 193: 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)
    • goderive/test/gopaths/gopath2/src/package2/file2.go
    • Line 7: warning: exported type Type2 should have comment or be unexported (golint)
    • Line 11: warning: exported method Type2.Equal should have comment or be unexported (golint)
    • Line 11: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/example/prefix/example.go
    • Line 1: warning: package comment should be of the form "Package prefix ..." (golint)
    • Line 10: warning: exported type MyStruct should have comment or be unexported (golint)
    • Line 15: warning: exported method MyStruct.Equal should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/test/normal/structs.go
    • Line 26: warning: exported type Empty should have comment or be unexported (golint)
    • Line 28: warning: exported method Empty.Equal should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported method Empty.Compare should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method Empty.DeepCopy should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method Empty.GoString should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method Empty.Clone should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Empty.Hash should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported type BuiltInTypes should have comment or be unexported (golint)
    • Line 74: warning: exported method BuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method BuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported method BuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: exported method BuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: exported method BuiltInTypes.Clone should have comment or be unexported (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: exported method BuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 98: warning: exported type PrivateBuiltInTypes should have comment or be unexported (golint)
    • Line 120: warning: exported method PrivateBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: exported method PrivateBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: exported method PrivateBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 132: warning: exported method PrivateBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 132: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported type PtrToBuiltInTypes should have comment or be unexported (golint)
    • Line 158: warning: exported method PtrToBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: exported method PtrToBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: exported method PtrToBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 170: warning: exported method PtrToBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 170: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 174: warning: exported method PtrToBuiltInTypes.Clone should have comment or be unexported (golint)
    • Line 174: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: exported method PtrToBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: exported type SliceOfBuiltInTypes should have comment or be unexported (golint)
    • Line 204: warning: exported method SliceOfBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 208: warning: exported method SliceOfBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 208: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 212: warning: exported method SliceOfBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 212: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 216: warning: exported method SliceOfBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 216: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: exported method SliceOfBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 220: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 224: warning: exported type SliceOfPtrToBuiltInTypes should have comment or be unexported (golint)
    • Line 246: warning: exported method SliceOfPtrToBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 246: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 250: warning: exported method SliceOfPtrToBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 250: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: exported method SliceOfPtrToBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 258: warning: exported method SliceOfPtrToBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 258: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 262: warning: exported method SliceOfPtrToBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 262: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 266: warning: exported type ArrayOfBuiltInTypes should have comment or be unexported (golint)
    • Line 290: warning: exported method ArrayOfBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 290: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 294: warning: exported method ArrayOfBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 294: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: exported method ArrayOfBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 298: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 302: warning: exported method ArrayOfBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 302: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 306: warning: exported method ArrayOfBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 306: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 310: warning: exported type ArrayOfPtrToBuiltInTypes should have comment or be unexported (golint)
    • Line 334: warning: exported method ArrayOfPtrToBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 334: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 338: warning: exported method ArrayOfPtrToBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 338: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 342: warning: exported method ArrayOfPtrToBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 342: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 346: warning: exported method ArrayOfPtrToBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 346: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 350: warning: exported method ArrayOfPtrToBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 350: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 354: warning: exported type MapsOfSimplerBuiltInTypes should have comment or be unexported (golint)
    • Line 359: warning: exported method MapsOfSimplerBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 359: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 363: warning: exported method MapsOfSimplerBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 363: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 367: warning: exported method MapsOfSimplerBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 367: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 371: warning: exported method MapsOfSimplerBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 371: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 375: warning: exported method MapsOfSimplerBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 375: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 379: warning: exported type MapsOfBuiltInTypes should have comment or be unexported (golint)
    • Line 387: warning: exported method MapsOfBuiltInTypes.Equal should have comment or be unexported (golint)
    • Line 387: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 391: warning: exported method MapsOfBuiltInTypes.Compare should have comment or be unexported (golint)
    • Line 391: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 395: warning: exported method MapsOfBuiltInTypes.DeepCopy should have comment or be unexported (golint)
    • Line 395: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: exported method MapsOfBuiltInTypes.GoString should have comment or be unexported (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 403: warning: exported method MapsOfBuiltInTypes.Hash should have comment or be unexported (golint)
    • Line 403: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 407: warning: exported type SliceToSlice should have comment or be unexported (golint)
    • Line 413: warning: exported method SliceToSlice.Equal should have comment or be unexported (golint)
    • Line 413: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 417: warning: exported method SliceToSlice.Compare should have comment or be unexported (golint)
    • Line 417: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 421: warning: exported method SliceToSlice.DeepCopy should have comment or be unexported (golint)
    • Line 421: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 425: warning: exported method SliceToSlice.GoString should have comment or be unexported (golint)
    • Line 425: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 429: warning: exported method SliceToSlice.Hash should have comment or be unexported (golint)
    • Line 429: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 433: warning: exported type PtrTo should have comment or be unexported (golint)
    • Line 440: warning: exported method PtrTo.Equal should have comment or be unexported (golint)
    • Line 440: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 444: warning: exported method PtrTo.Compare should have comment or be unexported (golint)
    • Line 444: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 448: warning: exported method PtrTo.DeepCopy should have comment or be unexported (golint)
    • Line 448: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 452: warning: exported method PtrTo.GoString should have comment or be unexported (golint)
    • Line 452: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 456: warning: exported method PtrTo.Hash should have comment or be unexported (golint)
    • Line 456: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 460: warning: exported type Name should have comment or be unexported (golint)
    • Line 464: warning: exported method Name.Equal should have comment or be unexported (golint)
    • Line 464: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 468: warning: exported method Name.Compare should have comment or be unexported (golint)
    • Line 468: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 472: warning: exported method Name.DeepCopy should have comment or be unexported (golint)
    • Line 472: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 476: warning: exported method Name.GoString should have comment or be unexported (golint)
    • Line 476: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 480: warning: exported method Name.Hash should have comment or be unexported (golint)
    • Line 480: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 484: warning: exported type Structs should have comment or be unexported (golint)
    • Line 491: warning: exported method Structs.Equal should have comment or be unexported (golint)
    • Line 491: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 495: warning: exported method Structs.Compare should have comment or be unexported (golint)
    • Line 495: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 499: warning: exported method Structs.DeepCopy should have comment or be unexported (golint)
    • Line 499: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 503: warning: exported method Structs.GoString should have comment or be unexported (golint)
    • Line 503: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 507: warning: exported method Structs.Hash should have comment or be unexported (golint)
    • Line 507: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 511: warning: exported type MapWithStructs should have comment or be unexported (golint)
    • Line 519: warning: exported method MapWithStructs.Equal should have comment or be unexported (golint)
    • Line 519: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 523: warning: exported method MapWithStructs.Compare should have comment or be unexported (golint)
    • Line 523: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 527: warning: exported method MapWithStructs.DeepCopy should have comment or be unexported (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 531: warning: exported method MapWithStructs.GoString should have comment or be unexported (golint)
    • Line 531: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 535: warning: exported method MapWithStructs.Hash should have comment or be unexported (golint)
    • Line 535: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 539: warning: exported type RecursiveType should have comment or be unexported (golint)
    • Line 544: warning: exported method RecursiveType.Equal should have comment or be unexported (golint)
    • Line 544: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 548: warning: exported method RecursiveType.Compare should have comment or be unexported (golint)
    • Line 548: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 552: warning: exported method RecursiveType.DeepCopy should have comment or be unexported (golint)
    • Line 552: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 556: warning: exported method RecursiveType.GoString should have comment or be unexported (golint)
    • Line 556: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 560: warning: exported method RecursiveType.Hash should have comment or be unexported (golint)
    • Line 560: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 564: warning: exported type EmbeddedStruct1 should have comment or be unexported (golint)
    • Line 569: warning: exported method EmbeddedStruct1.Equal should have comment or be unexported (golint)
    • Line 569: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 573: warning: exported method EmbeddedStruct1.Compare should have comment or be unexported (golint)
    • Line 573: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 577: warning: exported method EmbeddedStruct1.DeepCopy should have comment or be unexported (golint)
    • Line 577: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 581: warning: exported method EmbeddedStruct1.GoString should have comment or be unexported (golint)
    • Line 581: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 585: warning: exported method EmbeddedStruct1.Hash should have comment or be unexported (golint)
    • Line 585: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 589: warning: exported type EmbeddedStruct2 should have comment or be unexported (golint)
    • Line 594: warning: exported method EmbeddedStruct2.Equal should have comment or be unexported (golint)
    • Line 594: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 598: warning: exported method EmbeddedStruct2.Compare should have comment or be unexported (golint)
    • Line 598: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 602: warning: exported method EmbeddedStruct2.DeepCopy should have comment or be unexported (golint)
    • Line 602: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 606: warning: exported method EmbeddedStruct2.GoString should have comment or be unexported (golint)
    • Line 606: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 610: warning: exported method EmbeddedStruct2.Hash should have comment or be unexported (golint)
    • Line 610: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 614: warning: exported type UnnamedStruct should have comment or be unexported (golint)
    • Line 620: warning: exported method UnnamedStruct.Equal should have comment or be unexported (golint)
    • Line 620: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 624: warning: exported method UnnamedStruct.DeepCopy should have comment or be unexported (golint)
    • Line 624: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 628: warning: exported type StructWithStructFieldWithoutEqualMethod should have comment or be unexported (golint)
    • Line 633: warning: exported method StructWithStructFieldWithoutEqualMethod.Equal should have comment or be unexported (golint)
    • Line 633: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 637: warning: exported method StructWithStructFieldWithoutEqualMethod.Compare should have comment or be unexported (golint)
    • Line 637: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 641: warning: exported method StructWithStructFieldWithoutEqualMethod.DeepCopy should have comment or be unexported (golint)
    • Line 641: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 645: warning: exported method StructWithStructFieldWithoutEqualMethod.GoString should have comment or be unexported (golint)
    • Line 645: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 649: warning: exported method StructWithStructFieldWithoutEqualMethod.Hash should have comment or be unexported (golint)
    • Line 649: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 653: warning: exported type StructWithoutEqualMethod should have comment or be unexported (golint)
    • Line 657: warning: exported type StructWithStructWithFromAnotherPackage should have comment or be unexported (golint)
    • Line 662: warning: exported method StructWithStructWithFromAnotherPackage.Equal should have comment or be unexported (golint)
    • Line 662: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 666: warning: exported method StructWithStructWithFromAnotherPackage.Compare should have comment or be unexported (golint)
    • Line 666: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 670: warning: exported method StructWithStructWithFromAnotherPackage.DeepCopy should have comment or be unexported (golint)
    • Line 670: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 674: warning: exported method StructWithStructWithFromAnotherPackage.GoString should have comment or be unexported (golint)
    • Line 674: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 678: warning: exported method StructWithStructWithFromAnotherPackage.Hash should have comment or be unexported (golint)
    • Line 678: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 682: warning: exported type FieldWithStructWithPrivateFields should have comment or be unexported (golint)
    • Line 686: warning: exported method FieldWithStructWithPrivateFields.Equal should have comment or be unexported (golint)
    • Line 686: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 690: warning: exported method FieldWithStructWithPrivateFields.Compare should have comment or be unexported (golint)
    • Line 690: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 694: warning: exported method FieldWithStructWithPrivateFields.DeepCopy should have comment or be unexported (golint)
    • Line 694: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 698: warning: exported type Enums should have comment or be unexported (golint)
    • Line 708: warning: exported type MyEnum should have comment or be unexported (golint)
    • Line 710: warning: exported method Enums.Equal should have comment or be unexported (golint)
    • Line 710: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 714: warning: exported method Enums.Compare should have comment or be unexported (golint)
    • Line 714: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 718: warning: exported method Enums.DeepCopy should have comment or be unexported (golint)
    • Line 718: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 722: warning: exported method Enums.GoString should have comment or be unexported (golint)
    • Line 722: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 726: warning: exported method Enums.Hash should have comment or be unexported (golint)
    • Line 726: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 730: warning: exported type NamedTypes should have comment or be unexported (golint)
    • Line 736: warning: exported type MySlice should have comment or be unexported (golint)
    • Line 738: warning: exported method NamedTypes.Equal should have comment or be unexported (golint)
    • Line 738: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 742: warning: exported method NamedTypes.Compare should have comment or be unexported (golint)
    • Line 742: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 746: warning: exported method NamedTypes.DeepCopy should have comment or be unexported (golint)
    • Line 746: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 750: warning: exported method NamedTypes.GoString should have comment or be unexported (golint)
    • Line 750: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 754: warning: exported method NamedTypes.Hash should have comment or be unexported (golint)
    • Line 754: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 758: warning: exported type Time should have comment or be unexported (golint)
    • Line 766: warning: exported method Time.Generate should have comment or be unexported (golint)
    • Line 766: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 782: warning: exported method Time.Equal should have comment or be unexported (golint)
    • Line 782: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 786: warning: exported type Duration should have comment or be unexported (golint)
    • Line 794: warning: exported method Duration.Equal should have comment or be unexported (golint)
    • Line 794: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 798: warning: exported method Duration.Compare should have comment or be unexported (golint)
    • Line 798: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 802: warning: exported method Duration.DeepCopy should have comment or be unexported (golint)
    • Line 802: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 806: warning: exported method Duration.GoString should have comment or be unexported (golint)
    • Line 806: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 810: warning: exported method Duration.Hash should have comment or be unexported (golint)
    • Line 810: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 814: warning: exported type Nickname should have comment or be unexported (golint)
    • Line 818: warning: exported method Nickname.Equal should have comment or be unexported (golint)
    • Line 818: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 822: warning: exported method Nickname.Compare should have comment or be unexported (golint)
    • Line 822: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 826: warning: exported method Nickname.DeepCopy should have comment or be unexported (golint)
    • Line 826: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 830: warning: exported method Nickname.GoString should have comment or be unexported (golint)
    • Line 830: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 834: warning: exported method Nickname.Hash should have comment or be unexported (golint)
    • Line 834: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 842: warning: exported type PrivateEmbedded should have comment or be unexported (golint)
    • Line 846: warning: exported method PrivateEmbedded.Generate should have comment or be unexported (golint)
    • Line 846: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 860: warning: exported method PrivateEmbedded.Equal should have comment or be unexported (golint)
    • Line 860: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 864: warning: exported method PrivateEmbedded.Compare should have comment or be unexported (golint)
    • Line 864: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 868: warning: exported method PrivateEmbedded.DeepCopy should have comment or be unexported (golint)
    • Line 868: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 872: warning: exported method PrivateEmbedded.GoString should have comment or be unexported (golint)
    • Line 872: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 876: warning: exported method PrivateEmbedded.Hash should have comment or be unexported (golint)
    • Line 876: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 880: warning: exported type StructOfStructs should have comment or be unexported (golint)
    • Line 884: warning: exported method StructOfStructs.DeepCopy should have comment or be unexported (golint)
    • Line 884: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/example/plugin/equal/equal.go
    • Line 3: warning: exported type MyStruct should have comment or be unexported (golint)
    • Line 8: warning: exported method MyStruct.Equal should have comment or be unexported (golint)
    • Line 8: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/example/gogenerate/example.go
    • Line 3: warning: package comment should be of the form "Package gogenerate ..." (golint)
    • Line 6: warning: exported type MyStruct should have comment or be unexported (golint)
    • Line 11: warning: exported method MyStruct.Equal should have comment or be unexported (golint)
    • Line 11: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/example/pluginprefix/example.go
    • Line 1: warning: package comment should be of the form "Package pluginprefix ..." (golint)
    • Line 10: warning: exported type MyStruct should have comment or be unexported (golint)
    • Line 15: warning: exported method MyStruct.Equal should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/test/gopaths/gopath1/src/package1/file1.go
    • Line 3: warning: exported type Type1 should have comment or be unexported (golint)
    • Line 7: warning: exported method Type1.Equal should have comment or be unexported (golint)
    • Line 7: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/test/extra/structs.go
    • Line 8: warning: exported type StructWithoutEqualMethod should have comment or be unexported (golint)
    • Line 12: warning: exported type PrivateFieldAndNoEqualMethod should have comment or be unexported (golint)
    • Line 20: warning: exported method PrivateFieldAndNoEqualMethod.Generate should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/example/plugin/gostring/gostring.go
    • Line 3: warning: exported type MyStruct should have comment or be unexported (golint)
    • Line 8: warning: exported method MyStruct.GoString should have comment or be unexported (golint)
    • Line 8: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • goderive/test/normal/types.go
    • Line 17: warning: exported type LocalType should have comment or be unexported (golint)
    • Line 23: warning: exported type DeriveTheDerived should have comment or be unexported (golint)
    • Line 27: warning: exported type SomeJson should have comment or be unexported (golint)
    • Line 32: warning: exported type KeyValue should have comment or be unexported (golint)
    • Line 34: warning: exported method KeyValue.Equal should have comment or be unexported (golint)
    • Line 38: warning: exported type Visitor should have comment or be unexported (golint)
    • Line 43: warning: exported type UseVendor should have comment or be unexported (golint)
    • Line 47: warning: exported type Adder should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!