Preparing report...

Report for github.com/1pkg/gohaltlib

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


golint87%

Golint is a linter for Go source code.

    • gohaltlib/lib.go
    • Line 40: warning: exported type GinWith should have comment or be unexported (golint)
    • Line 42: warning: exported function GinWithIP should have comment or be unexported (golint)
    • Line 47: warning: exported type GinOn should have comment or be unexported (golint)
    • Line 49: warning: exported function GinOnAbort should have comment or be unexported (golint)
    • Line 53: warning: exported function NewMiddlewareGin should have comment or be unexported (golint)
    • Line 66: warning: exported type StdWith should have comment or be unexported (golint)
    • Line 68: warning: exported function StdWithIP should have comment or be unexported (golint)
    • Line 72: warning: exported type StdOn should have comment or be unexported (golint)
    • Line 74: warning: exported function StdOnAbort should have comment or be unexported (golint)
    • Line 78: warning: exported function NewMiddlewareStd should have comment or be unexported (golint)
    • Line 91: warning: exported type EchoWith should have comment or be unexported (golint)
    • Line 93: warning: exported function EchoWithIP should have comment or be unexported (golint)
    • Line 98: warning: exported type EchoOn should have comment or be unexported (golint)
    • Line 100: warning: exported function EchoOnAbort should have comment or be unexported (golint)
    • Line 104: warning: exported function NewMiddlewareEcho should have comment or be unexported (golint)
    • Line 120: warning: exported type BeegoWith should have comment or be unexported (golint)
    • Line 122: warning: exported function BeegoWithIP should have comment or be unexported (golint)
    • Line 127: warning: exported type BeegoOn should have comment or be unexported (golint)
    • Line 129: warning: exported function BeegoOnAbort should have comment or be unexported (golint)
    • Line 133: warning: exported function NewMiddlewareBeego should have comment or be unexported (golint)
    • Line 145: warning: exported type KitWith should have comment or be unexported (golint)
    • Line 147: warning: exported function KitWithEmpty should have comment or be unexported (golint)
    • Line 151: warning: exported type KitOn should have comment or be unexported (golint)
    • Line 153: warning: exported function KitOnAbort should have comment or be unexported (golint)
    • Line 157: warning: exported function NewMiddlewareKit should have comment or be unexported (golint)
    • Line 173: warning: exported type MuxWith should have comment or be unexported (golint)
    • Line 175: warning: exported function MuxWithIP should have comment or be unexported (golint)
    • Line 179: warning: exported type MuxOn should have comment or be unexported (golint)
    • Line 181: warning: exported function MuxOnAbort should have comment or be unexported (golint)
    • Line 185: warning: exported function NewMiddlewareMux should have comment or be unexported (golint)
    • Line 189: warning: exported type RouterWith should have comment or be unexported (golint)
    • Line 191: warning: exported function RouterWithIP should have comment or be unexported (golint)
    • Line 195: warning: exported type RouterOn should have comment or be unexported (golint)
    • Line 197: warning: exported function RouterOnAbort should have comment or be unexported (golint)
    • Line 201: warning: exported function NewMiddlewareRouter should have comment or be unexported (golint)
    • Line 205: warning: exported type RevealWith should have comment or be unexported (golint)
    • Line 207: warning: exported function RevealWithIP should have comment or be unexported (golint)
    • Line 220: warning: exported type RevealOn should have comment or be unexported (golint)
    • Line 222: warning: exported function RevealOnAbort should have comment or be unexported (golint)
    • Line 228: warning: exported function NewMiddlewareRevel should have comment or be unexported (golint)
    • Line 241: warning: exported type IrisWith should have comment or be unexported (golint)
    • Line 243: warning: exported function IrisWithIP should have comment or be unexported (golint)
    • Line 248: warning: exported type IrisOn should have comment or be unexported (golint)
    • Line 250: warning: exported function IrisOnAbort should have comment or be unexported (golint)
    • Line 255: warning: exported function NewMiddlewareIris should have comment or be unexported (golint)
    • Line 268: warning: exported type FastWith should have comment or be unexported (golint)
    • Line 270: warning: exported function FastWithIPBackground should have comment or be unexported (golint)
    • Line 281: warning: exported type FastOn should have comment or be unexported (golint)
    • Line 283: warning: exported function FastOnAbort should have comment or be unexported (golint)
    • Line 287: warning: exported function NewMiddlewareFast should have comment or be unexported (golint)
    • Line 300: warning: exported type RoundTripperStdWith should have comment or be unexported (golint)
    • Line 302: warning: exported function RoundTripperStdWithEmpty should have comment or be unexported (golint)
    • Line 306: warning: exported type RoundTripperStdOn should have comment or be unexported (golint)
    • Line 308: warning: exported function RoundTripperStdOnAbort should have comment or be unexported (golint)
    • Line 319: warning: exported function NewRoundTripperStd should have comment or be unexported (golint)
    • Line 340: warning: exported type RoundTripperFast should have comment or be unexported (golint)
    • Line 344: warning: exported type RoundTripperFastWith should have comment or be unexported (golint)
    • Line 346: warning: exported function RoundTripperFastBackground should have comment or be unexported (golint)
    • Line 350: warning: exported type RoundTripperFastOn should have comment or be unexported (golint)
    • Line 352: warning: exported function RoundTripperFastOnAbort should have comment or be unexported (golint)
    • Line 363: warning: exported function NewRoundTripperFast should have comment or be unexported (golint)
    • Line 384: warning: exported type RPCCodecWith should have comment or be unexported (golint)
    • Line 386: warning: exported function RPCCodecWithBackground should have comment or be unexported (golint)
    • Line 390: warning: exported type RPCCodecOn should have comment or be unexported (golint)
    • Line 392: warning: exported function RPCCodecOnAbort should have comment or be unexported (golint)
    • Line 403: warning: exported function NewRPCClientCodec should have comment or be unexported (golint)
    • Line 438: warning: exported function NewRPCServerCodec should have comment or be unexported (golint)
    • Line 466: warning: exported type GRPCStreamWith should have comment or be unexported (golint)
    • Line 468: warning: exported function GRPCStreamWithEmpty should have comment or be unexported (golint)
    • Line 472: warning: exported type GRPCStreamOn should have comment or be unexported (golint)
    • Line 474: warning: exported function GRPCStreamAbort should have comment or be unexported (golint)
    • Line 485: warning: exported function NewGRPCClientStream should have comment or be unexported (golint)
    • Line 520: warning: exported function NewGrpServerStream should have comment or be unexported (golint)
    • Line 548: warning: exported type MicroClientWith should have comment or be unexported (golint)
    • Line 550: warning: exported function MicroClientWithEmpty should have comment or be unexported (golint)
    • Line 554: warning: exported type MicroServerWith should have comment or be unexported (golint)
    • Line 556: warning: exported function MicroServerEmpty should have comment or be unexported (golint)
    • Line 560: warning: exported type MicroOn should have comment or be unexported (golint)
    • Line 562: warning: exported function MicroOnAbort should have comment or be unexported (golint)
    • Line 573: warning: exported function NewMicroClient should have comment or be unexported (golint)
    • Line 596: warning: exported function NewMicroHandler should have comment or be unexported (golint)
    • Line 612: warning: exported type NetConnWith should have comment or be unexported (golint)
    • Line 614: warning: exported function NetConnWithBackground should have comment or be unexported (golint)
    • Line 618: warning: exported type NetConnOn should have comment or be unexported (golint)
    • Line 620: warning: exported function NetConnAbort should have comment or be unexported (golint)
    • Line 634: warning: exported type NetConnMode should have comment or be unexported (golint)
    • Line 637: warning: exported const NetConnModeRead should have comment (or a comment on this block) or be unexported (golint)
    • Line 641: warning: exported function NewNetConn should have comment or be unexported (golint)
    • Line 686: warning: exported type SQLClient should have comment or be unexported (golint)
    • Line 693: warning: exported type SQLClientWith should have comment or be unexported (golint)
    • Line 695: warning: exported function SQLClientQuery should have comment or be unexported (golint)
    • Line 699: warning: exported type SQLClientOn should have comment or be unexported (golint)
    • Line 701: warning: exported function SQLClientAbort should have comment or be unexported (golint)
    • Line 712: warning: exported function NewSQLClient should have comment or be unexported (golint)
    • Line 764: warning: exported type RWWith should have comment or be unexported (golint)
    • Line 766: warning: exported function RWWithBackground should have comment or be unexported (golint)
    • Line 770: warning: exported type RWOn should have comment or be unexported (golint)
    • Line 772: warning: exported function RWAbort should have comment or be unexported (golint)
    • Line 783: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 811: warning: exported function NewWriter 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!