Preparing report...

Report for github.com/derekparker/delve

A+    Excellent!    Found 82 issues across 297 files

Tweet

gofmt97%

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


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!


gocyclo85%

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.

    • delve/pkg/proc/eval.go
    • Line 1598: warning: cyclomatic complexity 34 of function compareOp() is high (> 15) (gocyclo)
    • Line 576: warning: cyclomatic complexity 33 of function (*EvalScope).evalToplevelTypeCast() is high (> 15) (gocyclo)
    • Line 701: warning: cyclomatic complexity 30 of function (*EvalScope).evalAST() is high (> 15) (gocyclo)
    • Line 1496: warning: cyclomatic complexity 29 of function (*EvalScope).evalBinary() is high (> 15) (gocyclo)
    • Line 801: warning: cyclomatic complexity 25 of function (*EvalScope).evalTypeCast() is high (> 15) (gocyclo)
    • Line 1759: warning: cyclomatic complexity 25 of function (*Variable).isType() is high (> 15) (gocyclo)
    • Line 1432: warning: cyclomatic complexity 22 of function negotiateType() is high (> 15) (gocyclo)
    • Line 206: warning: cyclomatic complexity 20 of function (*EvalScope).Locals() is high (> 15) (gocyclo)
    • Line 500: warning: cyclomatic complexity 17 of function (*EvalScope).findGlobalInternal() is high (> 15) (gocyclo)
    • delve/service/dap/server.go
    • Line 183: warning: cyclomatic complexity 43 of function (*Server).handleRequest() is high (> 15) (gocyclo)
    • Line 378: warning: cyclomatic complexity 23 of function (*Server).onLaunchRequest() is high (> 15) (gocyclo)
    • delve/pkg/proc/types.go
    • Line 262: warning: cyclomatic complexity 19 of function nameOfUnnamedRuntimeType() is high (> 15) (gocyclo)
    • Line 323: warning: cyclomatic complexity 18 of function nameOfFuncRuntimeType() is high (> 15) (gocyclo)
    • delve/pkg/proc/gdbserial/gdbserver.go
    • Line 1711: warning: cyclomatic complexity 69 of function (*gdbRegisters).Get() is high (> 15) (gocyclo)
    • Line 657: warning: cyclomatic complexity 25 of function (*gdbProcess).ContinueOnce() is high (> 15) (gocyclo)
    • Line 772: warning: cyclomatic complexity 20 of function (*gdbProcess).handleThreadSignals() is high (> 15) (gocyclo)
    • Line 346: warning: cyclomatic complexity 18 of function LLDBLaunch() is high (> 15) (gocyclo)
    • Line 1902: warning: cyclomatic complexity 18 of function (*gdbRegisters).Slice() is high (> 15) (gocyclo)
    • delve/pkg/proc/gdbserial/gdbserver_conn.go
    • Line 677: warning: cyclomatic complexity 19 of function (*gdbConn).parseStopPacket() is high (> 15) (gocyclo)
    • Line 278: warning: cyclomatic complexity 19 of function (*gdbConn).readRegisterInfo() is high (> 15) (gocyclo)
    • Line 1077: warning: cyclomatic complexity 16 of function (*gdbConn).recv() is high (> 15) (gocyclo)
    • delve/pkg/proc/target_exec.go
    • Line 442: warning: cyclomatic complexity 51 of function next() is high (> 15) (gocyclo)
    • Line 47: warning: cyclomatic complexity 37 of function (*Target).Continue() is high (> 15) (gocyclo)
    • Line 778: warning: cyclomatic complexity 18 of function skipAutogeneratedWrappersIn() is high (> 15) (gocyclo)
    • Line 305: warning: cyclomatic complexity 16 of function (*Target).StepOut() is high (> 15) (gocyclo)
    • delve/service/debugger/debugger.go
    • Line 827: warning: cyclomatic complexity 44 of function (*Debugger).Command() is high (> 15) (gocyclo)
    • Line 975: warning: cyclomatic complexity 22 of function (*Debugger).collectBreakpointInformation() is high (> 15) (gocyclo)
    • Line 393: warning: cyclomatic complexity 19 of function (*Debugger).Restart() is high (> 15) (gocyclo)
    • delve/pkg/proc/proc_test.go
    • Line 398: warning: cyclomatic complexity 30 of function testseq2Args() is high (> 15) (gocyclo)
    • Line 3263: warning: cyclomatic complexity 22 of function TestCgoStacktrace() is high (> 15) (gocyclo)
    • Line 2698: warning: cyclomatic complexity 20 of function TestStacktraceWithBarriers() is high (> 15) (gocyclo)
    • Line 1164: warning: cyclomatic complexity 20 of function TestVariableEvaluation() is high (> 15) (gocyclo)
    • Line 3670: warning: cyclomatic complexity 18 of function TestInlinedStacktraceAndVariables() is high (> 15) (gocyclo)
    • Line 3094: warning: cyclomatic complexity 16 of function TestAttachStripped() is high (> 15) (gocyclo)
    • delve/pkg/proc/variables.go
    • Line 574: warning: cyclomatic complexity 32 of function newVariable() is high (> 15) (gocyclo)
    • Line 1166: warning: cyclomatic complexity 30 of function (*Variable).loadValueInternal() is high (> 15) (gocyclo)
    • Line 1856: warning: cyclomatic complexity 28 of function (*mapIterator).nextBucket() is high (> 15) (gocyclo)
    • Line 1013: warning: cyclomatic complexity 22 of function (*Variable).structMember() is high (> 15) (gocyclo)
    • Line 291: warning: cyclomatic complexity 19 of function GoroutinesInfo() is high (> 15) (gocyclo)
    • Line 772: warning: cyclomatic complexity 18 of function (*Variable).parseG() is high (> 15) (gocyclo)
    • Line 361: warning: cyclomatic complexity 16 of function FindGoroutine() is high (> 15) (gocyclo)
    • delve/pkg/terminal/starbind/conv.go
    • Line 602: warning: cyclomatic complexity 28 of function unmarshalStarlarkValueIntl() is high (> 15) (gocyclo)
    • Line 20: warning: cyclomatic complexity 23 of function (*Env).interfaceToStarlarkValue() is high (> 15) (gocyclo)
    • Line 205: warning: cyclomatic complexity 23 of function (*Env).variableValueToStarlarkValue() is high (> 15) (gocyclo)
    • delve/pkg/proc/bininfo.go
    • Line 1502: warning: cyclomatic complexity 31 of function (*BinaryInfo).loadDebugInfoMaps() is high (> 15) (gocyclo)
    • Line 1619: warning: cyclomatic complexity 29 of function (*BinaryInfo).loadDebugInfoMapsCompileUnit() is high (> 15) (gocyclo)
    • delve/pkg/terminal/command.go
    • Line 1383: warning: cyclomatic complexity 23 of function setBreakpoint() is high (> 15) (gocyclo)
    • Line 2158: warning: cyclomatic complexity 23 of function printcontextThread() is high (> 15) (gocyclo)
    • Line 1792: warning: cyclomatic complexity 22 of function parseStackArgs() is high (> 15) (gocyclo)
    • Line 1947: warning: cyclomatic complexity 19 of function disassCommand() is high (> 15) (gocyclo)
    • Line 1865: warning: cyclomatic complexity 18 of function getLocation() is high (> 15) (gocyclo)
    • Line 678: warning: cyclomatic complexity 17 of function goroutines() is high (> 15) (gocyclo)
    • Line 2038: warning: cyclomatic complexity 17 of function printStack() is high (> 15) (gocyclo)
    • delve/pkg/proc/fncall.go
    • Line 651: warning: cyclomatic complexity 29 of function funcCallStep() is high (> 15) (gocyclo)
    • Line 233: warning: cyclomatic complexity 21 of function evalFunctionCall() is high (> 15) (gocyclo)

golint80%

Golint is a linter for Go source code.

    • delve/pkg/proc/core/minidump/minidump.go
    • Line 158: warning: comment on exported type VSFixedFileInfo should be of the form "VSFixedFileInfo ..." (with optional leading article) (golint)
    • Line 212: warning: exported const MemoryStateCommit should have comment (or a comment on this block) or be unexported (golint)
    • Line 221: warning: exported const MemoryTypePrivate should have comment (or a comment on this block) or be unexported (golint)
    • Line 230: warning: exported const MemoryProtectNoAccess should have comment (or a comment on this block) or be unexported (golint)
    • Line 238: warning: comment on exported const MemoryProtectPageGuard should be of the form "MemoryProtectPageGuard ..." (golint)
    • Line 249: warning: exported const FileNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 275: warning: exported const UnusedStream should have comment (or a comment on this block) or be unexported (golint)
    • Line 304: warning: exported const CpuArchitectureX86 should have comment (or a comment on this block) or be unexported (golint)
    • delve/pkg/dwarf/reader/reader.go
    • Line 12: warning: exported type Reader should have comment or be unexported (golint)
    • Line 36: warning: comment on exported method Reader.AddrFor should be of the form "AddrFor ..." (golint)
    • Line 53: warning: comment on exported method Reader.AddrForMember should be of the form "AddrForMember ..." (golint)
    • Line 77: warning: error var TypeNotFoundErr should have name of the form ErrFoo (golint)
    • Line 77: warning: exported var TypeNotFoundErr should have comment or be unexported (golint)
    • Line 116: warning: exported method Reader.NextType should have comment or be unexported (golint)
    • Line 154: warning: comment on exported method Reader.FindEntryNamed should be of the form "FindEntryNamed ..." (golint)
    • Line 192: warning: exported method Reader.InstructionsForEntryNamed should have comment or be unexported (golint)
    • Line 210: warning: exported method Reader.InstructionsForEntry should have comment or be unexported (golint)
    • Line 279: warning: exported method Reader.NextCompileUnit should have comment or be unexported (golint)
    • delve/pkg/proc/native/proc.go
    • Line 88: warning: receiver name p should be consistent with previous receiver name dbp for nativeProcess (golint)
    • Line 185: warning: receiver name p should be consistent with previous receiver name dbp for nativeProcess (golint)
    • delve/pkg/dwarf/line/line_parser.go
    • Line 12: warning: exported type DebugLinePrologue should have comment or be unexported (golint)
    • Line 25: warning: exported type DebugLineInfo should have comment or be unexported (golint)
    • Line 48: warning: exported type FileEntry should have comment or be unexported (golint)
    • Line 55: warning: exported type DebugLines should have comment or be unexported (golint)
    • delve/pkg/proc/stack.go
    • Line 134: warning: exported type StacktraceOptions should have comment or be unexported (golint)
    • Line 195: warning: don't use underscores in Go names; struct field g0_sched_sp should be g0SchedSp (golint)
    • Line 196: warning: don't use underscores in Go names; struct field g0_sched_sp_loaded should be g0SchedSpLoaded (golint)
    • delve/pkg/proc/variables.go
    • Line 521: warning: exported method G.Labels should have comment or be unexported (golint)
    • Line 547: warning: exported type Ancestor should have comment or be unexported (golint)
    • Line 770: warning: exported var ErrUnreadableG should have comment or be unexported (golint)
    • delve/pkg/proc/linutil/dynamic.go
    • Line 18: warning: exported var ErrTooManyLibraries should have comment or be unexported (golint)
    • Line 90: warning: don't use underscores in Go names; func parameter r_map should be rMap (golint)
    • Line 161: warning: don't use underscores in Go names; var r_map should be rMap (golint)
    • delve/service/rpc1/client.go
    • Line 15: warning: comment on exported type RPCClient should be of the form "RPCClient ..." (with optional leading article) (golint)
    • Line 23: warning: error var unsupportedApiError should have name of the form errFoo (golint)
    • Line 37: warning: exported method RPCClient.ProcessPid should have comment or be unexported (golint)
    • Line 43: warning: exported method RPCClient.Detach should have comment or be unexported (golint)
    • Line 47: warning: exported method RPCClient.Restart should have comment or be unexported (golint)
    • Line 51: warning: exported method RPCClient.GetState should have comment or be unexported (golint)
    • Line 57: warning: exported method RPCClient.Continue should have comment or be unexported (golint)
    • Line 104: warning: exported method RPCClient.Next should have comment or be unexported (golint)
    • Line 110: warning: exported method RPCClient.Step should have comment or be unexported (golint)
    • Line 116: warning: exported method RPCClient.Call should have comment or be unexported (golint)
    • Line 122: warning: exported method RPCClient.StepInstruction should have comment or be unexported (golint)
    • Line 128: warning: exported method RPCClient.ReverseStepInstruction should have comment or be unexported (golint)
    • Line 134: warning: exported method RPCClient.SwitchThread should have comment or be unexported (golint)
    • Line 144: warning: exported method RPCClient.SwitchGoroutine should have comment or be unexported (golint)
    • Line 154: warning: exported method RPCClient.Halt should have comment or be unexported (golint)
    • Line 163: warning: exported method RPCClient.GetBreakpoint should have comment or be unexported (golint)
    • Line 169: warning: exported method RPCClient.GetBreakpointByName should have comment or be unexported (golint)
    • Line 175: warning: exported method RPCClient.CreateBreakpoint should have comment or be unexported (golint)
    • Line 181: warning: exported method RPCClient.ListBreakpoints should have comment or be unexported (golint)
    • Line 187: warning: exported method RPCClient.ClearBreakpoint should have comment or be unexported (golint)
    • Line 193: warning: exported method RPCClient.ClearBreakpointByName should have comment or be unexported (golint)
    • Line 199: warning: exported method RPCClient.AmendBreakpoint should have comment or be unexported (golint)
    • Line 204: warning: exported method RPCClient.CancelNext should have comment or be unexported (golint)
    • Line 208: warning: exported method RPCClient.ListThreads should have comment or be unexported (golint)
    • Line 214: warning: exported method RPCClient.GetThread should have comment or be unexported (golint)
    • Line 220: warning: exported method RPCClient.EvalVariable should have comment or be unexported (golint)
    • Line 226: warning: exported method RPCClient.SetVariable should have comment or be unexported (golint)
    • Line 231: warning: exported method RPCClient.ListSources should have comment or be unexported (golint)
    • Line 237: warning: exported method RPCClient.ListFunctions should have comment or be unexported (golint)
    • Line 243: warning: exported method RPCClient.ListTypes should have comment or be unexported (golint)
    • Line 249: warning: exported method RPCClient.ListPackageVariables should have comment or be unexported (golint)
    • Line 255: warning: exported method RPCClient.ListPackageVariablesFor should have comment or be unexported (golint)
    • Line 261: warning: exported method RPCClient.ListLocalVariables should have comment or be unexported (golint)
    • Line 267: warning: exported method RPCClient.ListRegisters should have comment or be unexported (golint)
    • Line 273: warning: exported method RPCClient.ListFunctionArgs should have comment or be unexported (golint)
    • Line 279: warning: exported method RPCClient.ListGoroutines should have comment or be unexported (golint)
    • Line 285: warning: exported method RPCClient.Stacktrace should have comment or be unexported (golint)
    • Line 291: warning: exported method RPCClient.AttachedToExistingProcess should have comment or be unexported (golint)
    • Line 297: warning: exported method RPCClient.FindLocation should have comment or be unexported (golint)
    • Line 303: warning: comment on exported method RPCClient.DisassembleRange should be of the form "DisassembleRange ..." (golint)
    • Line 310: warning: comment on exported method RPCClient.DisassemblePC should be of the form "DisassemblePC ..." (golint)
    • delve/pkg/dwarf/util/buf.go
    • Line 37: warning: comment on exported type UnknownFormat should be of the form "UnknownFormat ..." (with optional leading article) (golint)
    • Line 52: warning: exported function MakeBuf should have comment or be unexported (golint)
    • delve/pkg/goversion/compat.go
    • Line 8: warning: exported var MinSupportedVersionOfGoMajor should have comment or be unexported (golint)
    • Line 12: warning: error var goTooOldErr should have name of the form errFoo (golint)
    • Line 13: warning: error var dlvTooOldErr should have name of the form errFoo (golint)
    • delve/pkg/proc/native/ptrace_linux_64bit.go
    • Line 14: warning: don't use underscores in Go names; var len_iov should be lenIov (golint)
    • Line 15: warning: don't use underscores in Go names; var local_iov should be localIov (golint)
    • Line 16: warning: don't use underscores in Go names; var remote_iov should be remoteIov (golint)
    • Line 17: warning: don't use underscores in Go names; var p_local should be pLocal (golint)
    • Line 18: warning: don't use underscores in Go names; var p_remote should be pRemote (golint)
    • Line 28: warning: don't use underscores in Go names; var len_iov should be lenIov (golint)
    • Line 29: warning: don't use underscores in Go names; var local_iov should be localIov (golint)
    • Line 30: warning: don't use underscores in Go names; var remote_iov should be remoteIov (golint)
    • Line 31: warning: don't use underscores in Go names; var p_local should be pLocal (golint)
    • Line 32: warning: don't use underscores in Go names; var p_remote should be pRemote (golint)
    • delve/pkg/proc/disasm.go
    • Line 19: warning: exported type AsmInstructionKind should have comment or be unexported (golint)
    • Line 22: warning: exported const OtherInstruction should have comment (or a comment on this block) or be unexported (golint)
    • Line 166: warning: receiver name inst should be consistent with previous receiver name instr for AsmInstruction (golint)
    • delve/pkg/proc/fbsdutil/regs.go
    • Line 21: warning: exported function NewAMD64Registers should have comment or be unexported (golint)
    • Line 142: warning: exported method AMD64Registers.BP should have comment or be unexported (golint)
    • Line 338: warning: exported type AMD64Xstate should have comment or be unexported (golint)
    • Line 340: warning: exported function AMD64XstateRead should have comment or be unexported (golint)
    • Line 344: warning: exported method AMD64Xstate.Decode should have comment or be unexported (golint)
    • delve/pkg/dwarf/op/opcodes.go
    • Line 6: warning: don't use underscores in Go names; const DW_OP_addr should be DWOPAddr (golint)
    • Line 6: warning: exported const DW_OP_addr should have comment (or a comment on this block) or be unexported (golint)
    • Line 7: warning: don't use underscores in Go names; const DW_OP_deref should be DWOPDeref (golint)
    • Line 8: warning: don't use underscores in Go names; const DW_OP_const1u should be DWOPConst1u (golint)
    • Line 9: warning: don't use underscores in Go names; const DW_OP_const1s should be DWOPConst1s (golint)
    • Line 10: warning: don't use underscores in Go names; const DW_OP_const2u should be DWOPConst2u (golint)
    • Line 11: warning: don't use underscores in Go names; const DW_OP_const2s should be DWOPConst2s (golint)
    • Line 12: warning: don't use underscores in Go names; const DW_OP_const4u should be DWOPConst4u (golint)
    • Line 13: warning: don't use underscores in Go names; const DW_OP_const4s should be DWOPConst4s (golint)
    • Line 14: warning: don't use underscores in Go names; const DW_OP_const8u should be DWOPConst8u (golint)
    • Line 15: warning: don't use underscores in Go names; const DW_OP_const8s should be DWOPConst8s (golint)
    • Line 16: warning: don't use underscores in Go names; const DW_OP_constu should be DWOPConstu (golint)
    • Line 17: warning: don't use underscores in Go names; const DW_OP_consts should be DWOPConsts (golint)
    • Line 18: warning: don't use underscores in Go names; const DW_OP_dup should be DWOPDup (golint)
    • Line 19: warning: don't use underscores in Go names; const DW_OP_drop should be DWOPDrop (golint)
    • Line 20: warning: don't use underscores in Go names; const DW_OP_over should be DWOPOver (golint)
    • Line 21: warning: don't use underscores in Go names; const DW_OP_pick should be DWOPPick (golint)
    • Line 22: warning: don't use underscores in Go names; const DW_OP_swap should be DWOPSwap (golint)
    • Line 23: warning: don't use underscores in Go names; const DW_OP_rot should be DWOPRot (golint)
    • Line 24: warning: don't use underscores in Go names; const DW_OP_xderef should be DWOPXderef (golint)
    • Line 25: warning: don't use underscores in Go names; const DW_OP_abs should be DWOPAbs (golint)
    • Line 26: warning: don't use underscores in Go names; const DW_OP_and should be DWOPAnd (golint)
    • Line 27: warning: don't use underscores in Go names; const DW_OP_div should be DWOPDiv (golint)
    • Line 28: warning: don't use underscores in Go names; const DW_OP_minus should be DWOPMinus (golint)
    • Line 29: warning: don't use underscores in Go names; const DW_OP_mod should be DWOPMod (golint)
    • Line 30: warning: don't use underscores in Go names; const DW_OP_mul should be DWOPMul (golint)
    • Line 31: warning: don't use underscores in Go names; const DW_OP_neg should be DWOPNeg (golint)
    • Line 32: warning: don't use underscores in Go names; const DW_OP_not should be DWOPNot (golint)
    • Line 33: warning: don't use underscores in Go names; const DW_OP_or should be DWOPOr (golint)
    • Line 34: warning: don't use underscores in Go names; const DW_OP_plus should be DWOPPlus (golint)
    • Line 35: warning: don't use underscores in Go names; const DW_OP_plus_uconst should be DWOPPlusUconst (golint)
    • Line 36: warning: don't use underscores in Go names; const DW_OP_shl should be DWOPShl (golint)
    • Line 37: warning: don't use underscores in Go names; const DW_OP_shr should be DWOPShr (golint)
    • Line 38: warning: don't use underscores in Go names; const DW_OP_shra should be DWOPShra (golint)
    • Line 39: warning: don't use underscores in Go names; const DW_OP_xor should be DWOPXor (golint)
    • Line 40: warning: don't use underscores in Go names; const DW_OP_bra should be DWOPBra (golint)
    • Line 41: warning: don't use underscores in Go names; const DW_OP_eq should be DWOPEq (golint)
    • Line 42: warning: don't use underscores in Go names; const DW_OP_ge should be DWOPGe (golint)
    • Line 43: warning: don't use underscores in Go names; const DW_OP_gt should be DWOPGt (golint)
    • Line 44: warning: don't use underscores in Go names; const DW_OP_le should be DWOPLe (golint)
    • Line 45: warning: don't use underscores in Go names; const DW_OP_lt should be DWOPLt (golint)
    • Line 46: warning: don't use underscores in Go names; const DW_OP_ne should be DWOPNe (golint)
    • Line 47: warning: don't use underscores in Go names; const DW_OP_skip should be DWOPSkip (golint)
    • Line 48: warning: don't use underscores in Go names; const DW_OP_lit0 should be DWOPLit0 (golint)
    • Line 49: warning: don't use underscores in Go names; const DW_OP_lit1 should be DWOPLit1 (golint)
    • Line 50: warning: don't use underscores in Go names; const DW_OP_lit2 should be DWOPLit2 (golint)
    • Line 51: warning: don't use underscores in Go names; const DW_OP_lit3 should be DWOPLit3 (golint)
    • Line 52: warning: don't use underscores in Go names; const DW_OP_lit4 should be DWOPLit4 (golint)
    • Line 53: warning: don't use underscores in Go names; const DW_OP_lit5 should be DWOPLit5 (golint)
    • Line 54: warning: don't use underscores in Go names; const DW_OP_lit6 should be DWOPLit6 (golint)
    • Line 55: warning: don't use underscores in Go names; const DW_OP_lit7 should be DWOPLit7 (golint)
    • Line 56: warning: don't use underscores in Go names; const DW_OP_lit8 should be DWOPLit8 (golint)
    • Line 57: warning: don't use underscores in Go names; const DW_OP_lit9 should be DWOPLit9 (golint)
    • Line 58: warning: don't use underscores in Go names; const DW_OP_lit10 should be DWOPLit10 (golint)
    • Line 59: warning: don't use underscores in Go names; const DW_OP_lit11 should be DWOPLit11 (golint)
    • Line 60: warning: don't use underscores in Go names; const DW_OP_lit12 should be DWOPLit12 (golint)
    • Line 61: warning: don't use underscores in Go names; const DW_OP_lit13 should be DWOPLit13 (golint)
    • Line 62: warning: don't use underscores in Go names; const DW_OP_lit14 should be DWOPLit14 (golint)
    • Line 63: warning: don't use underscores in Go names; const DW_OP_lit15 should be DWOPLit15 (golint)
    • Line 64: warning: don't use underscores in Go names; const DW_OP_lit16 should be DWOPLit16 (golint)
    • Line 65: warning: don't use underscores in Go names; const DW_OP_lit17 should be DWOPLit17 (golint)
    • Line 66: warning: don't use underscores in Go names; const DW_OP_lit18 should be DWOPLit18 (golint)
    • Line 67: warning: don't use underscores in Go names; const DW_OP_lit19 should be DWOPLit19 (golint)
    • Line 68: warning: don't use underscores in Go names; const DW_OP_lit20 should be DWOPLit20 (golint)
    • Line 69: warning: don't use underscores in Go names; const DW_OP_lit21 should be DWOPLit21 (golint)
    • Line 70: warning: don't use underscores in Go names; const DW_OP_lit22 should be DWOPLit22 (golint)
    • Line 71: warning: don't use underscores in Go names; const DW_OP_lit23 should be DWOPLit23 (golint)
    • Line 72: warning: don't use underscores in Go names; const DW_OP_lit24 should be DWOPLit24 (golint)
    • Line 73: warning: don't use underscores in Go names; const DW_OP_lit25 should be DWOPLit25 (golint)
    • Line 74: warning: don't use underscores in Go names; const DW_OP_lit26 should be DWOPLit26 (golint)
    • Line 75: warning: don't use underscores in Go names; const DW_OP_lit27 should be DWOPLit27 (golint)
    • Line 76: warning: don't use underscores in Go names; const DW_OP_lit28 should be DWOPLit28 (golint)
    • Line 77: warning: don't use underscores in Go names; const DW_OP_lit29 should be DWOPLit29 (golint)
    • Line 78: warning: don't use underscores in Go names; const DW_OP_lit30 should be DWOPLit30 (golint)
    • Line 79: warning: don't use underscores in Go names; const DW_OP_lit31 should be DWOPLit31 (golint)
    • Line 80: warning: don't use underscores in Go names; const DW_OP_reg0 should be DWOPReg0 (golint)
    • Line 81: warning: don't use underscores in Go names; const DW_OP_reg1 should be DWOPReg1 (golint)
    • Line 82: warning: don't use underscores in Go names; const DW_OP_reg2 should be DWOPReg2 (golint)
    • Line 83: warning: don't use underscores in Go names; const DW_OP_reg3 should be DWOPReg3 (golint)
    • Line 84: warning: don't use underscores in Go names; const DW_OP_reg4 should be DWOPReg4 (golint)
    • Line 85: warning: don't use underscores in Go names; const DW_OP_reg5 should be DWOPReg5 (golint)
    • Line 86: warning: don't use underscores in Go names; const DW_OP_reg6 should be DWOPReg6 (golint)
    • Line 87: warning: don't use underscores in Go names; const DW_OP_reg7 should be DWOPReg7 (golint)
    • Line 88: warning: don't use underscores in Go names; const DW_OP_reg8 should be DWOPReg8 (golint)
    • Line 89: warning: don't use underscores in Go names; const DW_OP_reg9 should be DWOPReg9 (golint)
    • Line 90: warning: don't use underscores in Go names; const DW_OP_reg10 should be DWOPReg10 (golint)
    • Line 91: warning: don't use underscores in Go names; const DW_OP_reg11 should be DWOPReg11 (golint)
    • Line 92: warning: don't use underscores in Go names; const DW_OP_reg12 should be DWOPReg12 (golint)
    • Line 93: warning: don't use underscores in Go names; const DW_OP_reg13 should be DWOPReg13 (golint)
    • Line 94: warning: don't use underscores in Go names; const DW_OP_reg14 should be DWOPReg14 (golint)
    • Line 95: warning: don't use underscores in Go names; const DW_OP_reg15 should be DWOPReg15 (golint)
    • Line 96: warning: don't use underscores in Go names; const DW_OP_reg16 should be DWOPReg16 (golint)
    • Line 97: warning: don't use underscores in Go names; const DW_OP_reg17 should be DWOPReg17 (golint)
    • Line 98: warning: don't use underscores in Go names; const DW_OP_reg18 should be DWOPReg18 (golint)
    • Line 99: warning: don't use underscores in Go names; const DW_OP_reg19 should be DWOPReg19 (golint)
    • Line 100: warning: don't use underscores in Go names; const DW_OP_reg20 should be DWOPReg20 (golint)
    • Line 101: warning: don't use underscores in Go names; const DW_OP_reg21 should be DWOPReg21 (golint)
    • Line 102: warning: don't use underscores in Go names; const DW_OP_reg22 should be DWOPReg22 (golint)
    • Line 103: warning: don't use underscores in Go names; const DW_OP_reg23 should be DWOPReg23 (golint)
    • Line 104: warning: don't use underscores in Go names; const DW_OP_reg24 should be DWOPReg24 (golint)
    • Line 105: warning: don't use underscores in Go names; const DW_OP_reg25 should be DWOPReg25 (golint)
    • Line 106: warning: don't use underscores in Go names; const DW_OP_reg26 should be DWOPReg26 (golint)
    • Line 107: warning: don't use underscores in Go names; const DW_OP_reg27 should be DWOPReg27 (golint)
    • Line 108: warning: don't use underscores in Go names; const DW_OP_reg28 should be DWOPReg28 (golint)
    • Line 109: warning: don't use underscores in Go names; const DW_OP_reg29 should be DWOPReg29 (golint)
    • Line 110: warning: don't use underscores in Go names; const DW_OP_reg30 should be DWOPReg30 (golint)
    • Line 111: warning: don't use underscores in Go names; const DW_OP_reg31 should be DWOPReg31 (golint)
    • Line 112: warning: don't use underscores in Go names; const DW_OP_breg0 should be DWOPBreg0 (golint)
    • Line 113: warning: don't use underscores in Go names; const DW_OP_breg1 should be DWOPBreg1 (golint)
    • Line 114: warning: don't use underscores in Go names; const DW_OP_breg2 should be DWOPBreg2 (golint)
    • Line 115: warning: don't use underscores in Go names; const DW_OP_breg3 should be DWOPBreg3 (golint)
    • Line 116: warning: don't use underscores in Go names; const DW_OP_breg4 should be DWOPBreg4 (golint)
    • Line 117: warning: don't use underscores in Go names; const DW_OP_breg5 should be DWOPBreg5 (golint)
    • Line 118: warning: don't use underscores in Go names; const DW_OP_breg6 should be DWOPBreg6 (golint)
    • Line 119: warning: don't use underscores in Go names; const DW_OP_breg7 should be DWOPBreg7 (golint)
    • Line 120: warning: don't use underscores in Go names; const DW_OP_breg8 should be DWOPBreg8 (golint)
    • Line 121: warning: don't use underscores in Go names; const DW_OP_breg9 should be DWOPBreg9 (golint)
    • Line 122: warning: don't use underscores in Go names; const DW_OP_breg10 should be DWOPBreg10 (golint)
    • Line 123: warning: don't use underscores in Go names; const DW_OP_breg11 should be DWOPBreg11 (golint)
    • Line 124: warning: don't use underscores in Go names; const DW_OP_breg12 should be DWOPBreg12 (golint)
    • Line 125: warning: don't use underscores in Go names; const DW_OP_breg13 should be DWOPBreg13 (golint)
    • Line 126: warning: don't use underscores in Go names; const DW_OP_breg14 should be DWOPBreg14 (golint)
    • Line 127: warning: don't use underscores in Go names; const DW_OP_breg15 should be DWOPBreg15 (golint)
    • Line 128: warning: don't use underscores in Go names; const DW_OP_breg16 should be DWOPBreg16 (golint)
    • Line 129: warning: don't use underscores in Go names; const DW_OP_breg17 should be DWOPBreg17 (golint)
    • Line 130: warning: don't use underscores in Go names; const DW_OP_breg18 should be DWOPBreg18 (golint)
    • Line 131: warning: don't use underscores in Go names; const DW_OP_breg19 should be DWOPBreg19 (golint)
    • Line 132: warning: don't use underscores in Go names; const DW_OP_breg20 should be DWOPBreg20 (golint)
    • Line 133: warning: don't use underscores in Go names; const DW_OP_breg21 should be DWOPBreg21 (golint)
    • Line 134: warning: don't use underscores in Go names; const DW_OP_breg22 should be DWOPBreg22 (golint)
    • Line 135: warning: don't use underscores in Go names; const DW_OP_breg23 should be DWOPBreg23 (golint)
    • Line 136: warning: don't use underscores in Go names; const DW_OP_breg24 should be DWOPBreg24 (golint)
    • Line 137: warning: don't use underscores in Go names; const DW_OP_breg25 should be DWOPBreg25 (golint)
    • Line 138: warning: don't use underscores in Go names; const DW_OP_breg26 should be DWOPBreg26 (golint)
    • Line 139: warning: don't use underscores in Go names; const DW_OP_breg27 should be DWOPBreg27 (golint)
    • Line 140: warning: don't use underscores in Go names; const DW_OP_breg28 should be DWOPBreg28 (golint)
    • Line 141: warning: don't use underscores in Go names; const DW_OP_breg29 should be DWOPBreg29 (golint)
    • Line 142: warning: don't use underscores in Go names; const DW_OP_breg30 should be DWOPBreg30 (golint)
    • Line 143: warning: don't use underscores in Go names; const DW_OP_breg31 should be DWOPBreg31 (golint)
    • Line 144: warning: don't use underscores in Go names; const DW_OP_regx should be DWOPRegx (golint)
    • Line 145: warning: don't use underscores in Go names; const DW_OP_fbreg should be DWOPFbreg (golint)
    • Line 146: warning: don't use underscores in Go names; const DW_OP_bregx should be DWOPBregx (golint)
    • Line 147: warning: don't use underscores in Go names; const DW_OP_piece should be DWOPPiece (golint)
    • Line 148: warning: don't use underscores in Go names; const DW_OP_deref_size should be DWOPDerefSize (golint)
    • Line 149: warning: don't use underscores in Go names; const DW_OP_xderef_size should be DWOPXderefSize (golint)
    • Line 150: warning: don't use underscores in Go names; const DW_OP_nop should be DWOPNop (golint)
    • Line 151: warning: don't use underscores in Go names; const DW_OP_push_object_address should be DWOPPushObjectAddress (golint)
    • Line 152: warning: don't use underscores in Go names; const DW_OP_call2 should be DWOPCall2 (golint)
    • Line 153: warning: don't use underscores in Go names; const DW_OP_call4 should be DWOPCall4 (golint)
    • Line 154: warning: don't use underscores in Go names; const DW_OP_call_ref should be DWOPCallRef (golint)
    • Line 155: warning: don't use underscores in Go names; const DW_OP_form_tls_address should be DWOPFormTLSAddress (golint)
    • Line 156: warning: don't use underscores in Go names; const DW_OP_call_frame_cfa should be DWOPCallFrameCfa (golint)
    • Line 157: warning: don't use underscores in Go names; const DW_OP_bit_piece should be DWOPBitPiece (golint)
    • Line 158: warning: don't use underscores in Go names; const DW_OP_implicit_value should be DWOPImplicitValue (golint)
    • Line 159: warning: don't use underscores in Go names; const DW_OP_stack_value should be DWOPStackValue (golint)
    • delve/service/rpc2/server.go
    • Line 13: warning: exported type RPCServer should have comment or be unexported (golint)
    • Line 20: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 24: warning: exported type ProcessPidIn should have comment or be unexported (golint)
    • Line 27: warning: exported type ProcessPidOut should have comment or be unexported (golint)
    • Line 37: warning: exported type LastModifiedIn should have comment or be unexported (golint)
    • Line 40: warning: exported type LastModifiedOut should have comment or be unexported (golint)
    • Line 44: warning: exported method RPCServer.LastModified should have comment or be unexported (golint)
    • Line 49: warning: exported type DetachIn should have comment or be unexported (golint)
    • Line 53: warning: exported type DetachOut should have comment or be unexported (golint)
    • Line 66: warning: exported type RestartIn should have comment or be unexported (golint)
    • Line 81: warning: exported type RestartOut should have comment or be unexported (golint)
    • Line 97: warning: exported type StateIn should have comment or be unexported (golint)
    • Line 102: warning: exported type StateOut should have comment or be unexported (golint)
    • Line 118: warning: exported type CommandOut should have comment or be unexported (golint)
    • Line 134: warning: exported type GetBreakpointIn should have comment or be unexported (golint)
    • Line 139: warning: exported type GetBreakpointOut should have comment or be unexported (golint)
    • Line 161: warning: exported type StacktraceIn should have comment or be unexported (golint)
    • Line 170: warning: exported type StacktraceOut should have comment or be unexported (golint)
    • Line 191: warning: exported type AncestorsIn should have comment or be unexported (golint)
    • Line 197: warning: exported type AncestorsOut should have comment or be unexported (golint)
    • Line 208: warning: exported type ListBreakpointsIn should have comment or be unexported (golint)
    • Line 211: warning: exported type ListBreakpointsOut should have comment or be unexported (golint)
    • Line 221: warning: exported type CreateBreakpointIn should have comment or be unexported (golint)
    • Line 225: warning: exported type CreateBreakpointOut should have comment or be unexported (golint)
    • Line 251: warning: exported type ClearBreakpointIn should have comment or be unexported (golint)
    • Line 256: warning: exported type ClearBreakpointOut should have comment or be unexported (golint)
    • Line 283: warning: exported type AmendBreakpointIn should have comment or be unexported (golint)
    • Line 287: warning: exported type AmendBreakpointOut should have comment or be unexported (golint)
    • Line 299: warning: exported type CancelNextIn should have comment or be unexported (golint)
    • Line 302: warning: exported type CancelNextOut should have comment or be unexported (golint)
    • Line 305: warning: exported method RPCServer.CancelNext should have comment or be unexported (golint)
    • Line 309: warning: exported type ListThreadsIn should have comment or be unexported (golint)
    • Line 312: warning: exported type ListThreadsOut should have comment or be unexported (golint)
    • Line 322: warning: exported type GetThreadIn should have comment or be unexported (golint)
    • Line 326: warning: exported type GetThreadOut should have comment or be unexported (golint)
    • Line 343: warning: exported type ListPackageVarsIn should have comment or be unexported (golint)
    • Line 348: warning: exported type ListPackageVarsOut should have comment or be unexported (golint)
    • Line 372: warning: exported type ListRegistersIn should have comment or be unexported (golint)
    • Line 378: warning: exported type ListRegistersOut should have comment or be unexported (golint)
    • Line 405: warning: exported type ListLocalVarsIn should have comment or be unexported (golint)
    • Line 410: warning: exported type ListLocalVarsOut should have comment or be unexported (golint)
    • Line 424: warning: exported type ListFunctionArgsIn should have comment or be unexported (golint)
    • Line 429: warning: exported type ListFunctionArgsOut should have comment or be unexported (golint)
    • Line 443: warning: exported type EvalIn should have comment or be unexported (golint)
    • Line 449: warning: exported type EvalOut should have comment or be unexported (golint)
    • Line 453: warning: comment on exported method RPCServer.Eval should be of the form "Eval ..." (golint)
    • Line 470: warning: exported type SetIn should have comment or be unexported (golint)
    • Line 476: warning: exported type SetOut should have comment or be unexported (golint)
    • Line 485: warning: exported type ListSourcesIn should have comment or be unexported (golint)
    • Line 489: warning: exported type ListSourcesOut should have comment or be unexported (golint)
    • Line 503: warning: exported type ListFunctionsIn should have comment or be unexported (golint)
    • Line 507: warning: exported type ListFunctionsOut should have comment or be unexported (golint)
    • Line 521: warning: exported type ListTypesIn should have comment or be unexported (golint)
    • Line 525: warning: exported type ListTypesOut should have comment or be unexported (golint)
    • Line 539: warning: exported type ListGoroutinesIn should have comment or be unexported (golint)
    • Line 544: warning: exported type ListGoroutinesOut should have comment or be unexported (golint)
    • Line 565: warning: exported type AttachedToExistingProcessIn should have comment or be unexported (golint)
    • Line 568: warning: exported type AttachedToExistingProcessOut should have comment or be unexported (golint)
    • Line 573: warning: receiver name c should be consistent with previous receiver name s for RPCServer (golint)
    • Line 580: warning: exported type FindLocationIn should have comment or be unexported (golint)
    • Line 586: warning: exported type FindLocationOut should have comment or be unexported (golint)
    • Line 603: warning: receiver name c should be consistent with previous receiver name s for RPCServer (golint)
    • Line 609: warning: exported type DisassembleIn should have comment or be unexported (golint)
    • Line 615: warning: exported type DisassembleOut should have comment or be unexported (golint)
    • Line 626: warning: receiver name c should be consistent with previous receiver name s for RPCServer (golint)
    • Line 632: warning: exported type RecordedIn should have comment or be unexported (golint)
    • Line 635: warning: exported type RecordedOut should have comment or be unexported (golint)
    • Line 640: warning: exported method RPCServer.Recorded should have comment or be unexported (golint)
    • Line 645: warning: exported type CheckpointIn should have comment or be unexported (golint)
    • Line 649: warning: exported type CheckpointOut should have comment or be unexported (golint)
    • Line 653: warning: exported method RPCServer.Checkpoint should have comment or be unexported (golint)
    • Line 659: warning: exported type ListCheckpointsIn should have comment or be unexported (golint)
    • Line 662: warning: exported type ListCheckpointsOut should have comment or be unexported (golint)
    • Line 666: warning: exported method RPCServer.ListCheckpoints should have comment or be unexported (golint)
    • Line 672: warning: exported type ClearCheckpointIn should have comment or be unexported (golint)
    • Line 676: warning: exported type ClearCheckpointOut should have comment or be unexported (golint)
    • Line 679: warning: exported method RPCServer.ClearCheckpoint should have comment or be unexported (golint)
    • Line 683: warning: exported type IsMulticlientIn should have comment or be unexported (golint)
    • Line 686: warning: exported type IsMulticlientOut should have comment or be unexported (golint)
    • Line 691: warning: exported method RPCServer.IsMulticlient should have comment or be unexported (golint)
    • Line 737: warning: exported method RPCServer.ListDynamicLibraries should have comment or be unexported (golint)
    • Line 773: warning: exported method RPCServer.ExamineMemory should have comment or be unexported (golint)
    • Line 786: warning: exported type StopRecordingIn should have comment or be unexported (golint)
    • Line 789: warning: exported type StopRecordingOut should have comment or be unexported (golint)
    • Line 792: warning: exported method RPCServer.StopRecording should have comment or be unexported (golint)
    • delve/pkg/dwarf/op/regs.go
    • Line 27: warning: exported type DwarfRegister should have comment or be unexported (golint)
    • Line 103: warning: exported method DwarfRegisters.PC should have comment or be unexported (golint)
    • Line 107: warning: exported method DwarfRegisters.SP should have comment or be unexported (golint)
    • Line 111: warning: exported method DwarfRegisters.BP should have comment or be unexported (golint)
    • Line 133: warning: exported function DwarfRegisterFromUint64 should have comment or be unexported (golint)
    • Line 137: warning: exported function DwarfRegisterFromBytes should have comment or be unexported (golint)
    • delve/pkg/dwarf/dwarfbuilder/info.go
    • Line 17: warning: don't use underscores in Go names; const DW_FORM_addr should be DWFORMAddr (golint)
    • Line 17: warning: exported const DW_FORM_addr should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; const DW_FORM_block2 should be DWFORMBlock2 (golint)
    • Line 19: warning: don't use underscores in Go names; const DW_FORM_block4 should be DWFORMBlock4 (golint)
    • Line 20: warning: don't use underscores in Go names; const DW_FORM_data2 should be DWFORMData2 (golint)
    • Line 21: warning: don't use underscores in Go names; const DW_FORM_data4 should be DWFORMData4 (golint)
    • Line 22: warning: don't use underscores in Go names; const DW_FORM_data8 should be DWFORMData8 (golint)
    • Line 23: warning: don't use underscores in Go names; const DW_FORM_string should be DWFORMString (golint)
    • Line 24: warning: don't use underscores in Go names; const DW_FORM_block should be DWFORMBlock (golint)
    • Line 25: warning: don't use underscores in Go names; const DW_FORM_block1 should be DWFORMBlock1 (golint)
    • Line 26: warning: don't use underscores in Go names; const DW_FORM_data1 should be DWFORMData1 (golint)
    • Line 27: warning: don't use underscores in Go names; const DW_FORM_flag should be DWFORMFlag (golint)
    • Line 28: warning: don't use underscores in Go names; const DW_FORM_sdata should be DWFORMSdata (golint)
    • Line 29: warning: don't use underscores in Go names; const DW_FORM_strp should be DWFORMStrp (golint)
    • Line 30: warning: don't use underscores in Go names; const DW_FORM_udata should be DWFORMUdata (golint)
    • Line 31: warning: don't use underscores in Go names; const DW_FORM_ref_addr should be DWFORMRefAddr (golint)
    • Line 32: warning: don't use underscores in Go names; const DW_FORM_ref1 should be DWFORMRef1 (golint)
    • Line 33: warning: don't use underscores in Go names; const DW_FORM_ref2 should be DWFORMRef2 (golint)
    • Line 34: warning: don't use underscores in Go names; const DW_FORM_ref4 should be DWFORMRef4 (golint)
    • Line 35: warning: don't use underscores in Go names; const DW_FORM_ref8 should be DWFORMRef8 (golint)
    • Line 36: warning: don't use underscores in Go names; const DW_FORM_ref_udata should be DWFORMRefUdata (golint)
    • Line 37: warning: don't use underscores in Go names; const DW_FORM_indirect should be DWFORMIndirect (golint)
    • Line 38: warning: don't use underscores in Go names; const DW_FORM_sec_offset should be DWFORMSecOffset (golint)
    • Line 39: warning: don't use underscores in Go names; const DW_FORM_exprloc should be DWFORMExprloc (golint)
    • Line 40: warning: don't use underscores in Go names; const DW_FORM_flag_present should be DWFORMFlagPresent (golint)
    • Line 41: warning: don't use underscores in Go names; const DW_FORM_ref_sig8 should be DWFORMRefSig8 (golint)
    • Line 49: warning: don't use underscores in Go names; const DW_ATE_address should be DWATEAddress (golint)
    • Line 49: warning: exported const DW_ATE_address should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: don't use underscores in Go names; const DW_ATE_boolean should be DWATEBoolean (golint)
    • Line 51: warning: don't use underscores in Go names; const DW_ATE_complex_float should be DWATEComplexFloat (golint)
    • Line 52: warning: don't use underscores in Go names; const DW_ATE_float should be DWATEFloat (golint)
    • Line 53: warning: don't use underscores in Go names; const DW_ATE_signed should be DWATESigned (golint)
    • Line 54: warning: don't use underscores in Go names; const DW_ATE_signed_char should be DWATESignedChar (golint)
    • Line 55: warning: don't use underscores in Go names; const DW_ATE_unsigned should be DWATEUnsigned (golint)
    • Line 56: warning: don't use underscores in Go names; const DW_ATE_unsigned_char should be DWATEUnsignedChar (golint)
    • Line 57: warning: don't use underscores in Go names; const DW_ATE_imaginary_float should be DWATEImaginaryFloat (golint)
    • Line 58: warning: don't use underscores in Go names; const DW_ATE_packed_decimal should be DWATEPackedDecimal (golint)
    • Line 59: warning: don't use underscores in Go names; const DW_ATE_numeric_string should be DWATENumericString (golint)
    • Line 60: warning: don't use underscores in Go names; const DW_ATE_edited should be DWATEEdited (golint)
    • Line 61: warning: don't use underscores in Go names; const DW_ATE_signed_fixed should be DWATESignedFixed (golint)
    • Line 62: warning: don't use underscores in Go names; const DW_ATE_unsigned_fixed should be DWATEUnsignedFixed (golint)
    • Line 63: warning: don't use underscores in Go names; const DW_ATE_decimal_float should be DWATEDecimalFloat (golint)
    • Line 65: warning: don't use underscores in Go names; const DW_ATE_lo_user should be DWATELoUser (golint)
    • Line 66: warning: don't use underscores in Go names; const DW_ATE_hi_user should be DWATEHiUser (golint)
    • Line 240: warning: exported method Builder.AddCompileUnit should have comment or be unexported (golint)
    • delve/pkg/proc/test/support.go
    • Line 77: warning: exported const BuildModePIE should have comment (or a comment on this block) or be unexported (golint)
    • Line 367: warning: exported function MustHaveCgo should have comment or be unexported (golint)
    • delve/pkg/dwarf/frame/table.go
    • Line 11: warning: exported type DWRule should have comment or be unexported (golint)
    • Line 18: warning: exported type FrameContext should have comment or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; const DW_CFA_nop should be DWCFANop (golint)
    • Line 36: warning: don't use underscores in Go names; const DW_CFA_set_loc should be DWCFASetLoc (golint)
    • Line 37: warning: don't use underscores in Go names; const DW_CFA_advance_loc1 should be DWCFAAdvanceLoc1 (golint)
    • Line 38: warning: don't use underscores in Go names; const DW_CFA_advance_loc2 should be DWCFAAdvanceLoc2 (golint)
    • Line 39: warning: don't use underscores in Go names; const DW_CFA_advance_loc4 should be DWCFAAdvanceLoc4 (golint)
    • Line 40: warning: don't use underscores in Go names; const DW_CFA_offset_extended should be DWCFAOffsetExtended (golint)
    • Line 41: warning: don't use underscores in Go names; const DW_CFA_restore_extended should be DWCFARestoreExtended (golint)
    • Line 42: warning: don't use underscores in Go names; const DW_CFA_undefined should be DWCFAUndefined (golint)
    • Line 43: warning: don't use underscores in Go names; const DW_CFA_same_value should be DWCFASameValue (golint)
    • Line 44: warning: don't use underscores in Go names; const DW_CFA_register should be DWCFARegister (golint)
    • Line 45: warning: don't use underscores in Go names; const DW_CFA_remember_state should be DWCFARememberState (golint)
    • Line 46: warning: don't use underscores in Go names; const DW_CFA_restore_state should be DWCFARestoreState (golint)
    • Line 47: warning: don't use underscores in Go names; const DW_CFA_def_cfa should be DWCFADefCfa (golint)
    • Line 48: warning: don't use underscores in Go names; const DW_CFA_def_cfa_register should be DWCFADefCfaRegister (golint)
    • Line 49: warning: don't use underscores in Go names; const DW_CFA_def_cfa_offset should be DWCFADefCfaOffset (golint)
    • Line 50: warning: don't use underscores in Go names; const DW_CFA_def_cfa_expression should be DWCFADefCfaExpression (golint)
    • Line 51: warning: don't use underscores in Go names; const DW_CFA_expression should be DWCFAExpression (golint)
    • Line 52: warning: don't use underscores in Go names; const DW_CFA_offset_extended_sf should be DWCFAOffsetExtendedSf (golint)
    • Line 53: warning: don't use underscores in Go names; const DW_CFA_def_cfa_sf should be DWCFADefCfaSf (golint)
    • Line 54: warning: don't use underscores in Go names; const DW_CFA_def_cfa_offset_sf should be DWCFADefCfaOffsetSf (golint)
    • Line 55: warning: don't use underscores in Go names; const DW_CFA_val_offset should be DWCFAValOffset (golint)
    • Line 56: warning: don't use underscores in Go names; const DW_CFA_val_offset_sf should be DWCFAValOffsetSf (golint)
    • Line 57: warning: don't use underscores in Go names; const DW_CFA_val_expression should be DWCFAValExpression (golint)
    • Line 58: warning: don't use underscores in Go names; const DW_CFA_lo_user should be DWCFALoUser (golint)
    • Line 59: warning: don't use underscores in Go names; const DW_CFA_hi_user should be DWCFAHiUser (golint)
    • Line 60: warning: don't use underscores in Go names; const DW_CFA_advance_loc should be DWCFAAdvanceLoc (golint)
    • Line 61: warning: don't use underscores in Go names; const DW_CFA_offset should be DWCFAOffset (golint)
    • Line 62: warning: don't use underscores in Go names; const DW_CFA_restore should be DWCFARestore (golint)
    • Line 65: warning: comment on exported type Rule should be of the form "Rule ..." (with optional leading article) (golint)
    • Line 69: warning: exported const RuleUndefined should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: don't use underscores in Go names; const low_6_offset should be low6Offset (golint)
    • Line 151: warning: comment on exported method FrameContext.ExecuteUntilPC should be of the form "ExecuteUntilPC ..." (golint)
    • Line 180: warning: don't use underscores in Go names; const high_2_bits should be high2Bits (golint)
    • delve/pkg/terminal/command.go
    • Line 527: warning: error var noCmdError should have name of the form errFoo (golint)
    • Line 744: warning: should omit 2nd value from range; this loop is equivalent to `for i := range ...` (golint)
    • Line 1156: warning: error var notOnFrameZeroErr should have name of the form errFoo (golint)
    • Line 1680: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1945: warning: error var disasmUsageError should have name of the form errFoo (golint)
    • delve/pkg/proc/linutil/regs_i386_arch.go
    • Line 22: warning: exported function NewI386Registers should have comment or be unexported (golint)
    • Line 40: warning: don't use underscores in Go names; struct field Orig_eax should be OrigEax (golint)
    • Line 97: warning: exported method I386Registers.BP should have comment or be unexported (golint)
    • Line 270: warning: comment on exported function I386XstateRead should be of the form "I386XstateRead ..." (golint)
    • Line 286: warning: don't use underscores in Go names; var xstate_bv should be xstateBv (golint)
    • Line 287: warning: don't use underscores in Go names; var xcomp_bv should be xcompBv (golint)
    • delve/pkg/dwarf/godwarf/type.go
    • Line 24: warning: exported const AttrGoKind should have comment (or a comment on this block) or be unexported (golint)
    • Line 90: warning: exported method CommonType.Common should have comment or be unexported (golint)
    • Line 92: warning: exported method CommonType.Size should have comment or be unexported (golint)
    • Line 93: warning: exported method CommonType.Align should have comment or be unexported (golint)
    • Line 105: warning: exported method BasicType.Basic should have comment or be unexported (golint)
    • Line 107: warning: receiver name t should be consistent with previous receiver name b for BasicType (golint)
    • Line 109: warning: receiver name t should be consistent with previous receiver name b for BasicType (golint)
    • Line 116: warning: exported method BasicType.Align should have comment or be unexported (golint)
    • Line 116: warning: receiver name t should be consistent with previous receiver name b for BasicType (golint)
    • Line 183: warning: exported method QualType.Size should have comment or be unexported (golint)
    • Line 213: warning: exported method ArrayType.Size should have comment or be unexported (golint)
    • Line 214: warning: exported method ArrayType.Align should have comment or be unexported (golint)
    • Line 284: warning: exported method StructType.Defn should have comment or be unexported (golint)
    • Line 314: warning: exported method StructType.Size should have comment or be unexported (golint)
    • Line 315: warning: exported method StructType.Align should have comment or be unexported (golint)
    • Line 460: warning: exported method TypedefType.Size should have comment or be unexported (golint)
    • Line 516: warning: comment on exported function ReadType should be of the form "ReadType ..." (golint)
    • Line 808: warning: don't use underscores in Go names; var op_ should be op (golint)
    • delve/pkg/proc/linutil/regs_amd64_arch.go
    • Line 23: warning: exported function NewAMD64Registers should have comment or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; struct field Orig_rax should be OrigRax (golint)
    • Line 51: warning: don't use underscores in Go names; struct field Fs_base should be FsBase (golint)
    • Line 52: warning: don't use underscores in Go names; struct field Gs_base should be GsBase (golint)
    • Line 118: warning: exported method AMD64Registers.BP should have comment or be unexported (golint)
    • Line 377: warning: comment on exported function AMD64XstateRead should be of the form "AMD64XstateRead ..." (golint)
    • Line 393: warning: don't use underscores in Go names; var xstate_bv should be xstateBv (golint)
    • Line 394: warning: don't use underscores in Go names; var xcomp_bv should be xcompBv (golint)
    • delve/service/api/types.go
    • Line 189: warning: don't use underscores in Go names; struct field Name_ should be Name (golint)
    • Line 374: warning: comment on exported const DirectionCongruentContinue should be of the form "DirectionCongruentContinue ..." (golint)
    • Line 531: warning: comment on exported type PackageBuildInfo should be of the form "PackageBuildInfo ..." (with optional leading article) (golint)
    • delve/service/dap/daptest/client.go
    • Line 49: warning: exported method Client.ReadMessage should have comment or be unexported (golint)
    • Line 62: warning: exported method Client.ExpectErrorResponse should have comment or be unexported (golint)
    • Line 76: warning: exported method Client.ExpectNotYetImplementedErrorResponse should have comment or be unexported (golint)
    • Line 81: warning: exported method Client.ExpectUnsupportedCommandErrorResponse should have comment or be unexported (golint)
    • Line 86: warning: exported method Client.ExpectDisconnectResponse should have comment or be unexported (golint)
    • Line 91: warning: exported method Client.ExpectContinueResponse should have comment or be unexported (golint)
    • Line 96: warning: exported method Client.ExpectTerminatedEvent should have comment or be unexported (golint)
    • Line 101: warning: exported method Client.ExpectInitializeResponse should have comment or be unexported (golint)
    • Line 110: warning: exported method Client.ExpectInitializedEvent should have comment or be unexported (golint)
    • Line 115: warning: exported method Client.ExpectLaunchResponse should have comment or be unexported (golint)
    • Line 120: warning: exported method Client.ExpectSetExceptionBreakpointsResponse should have comment or be unexported (golint)
    • Line 125: warning: exported method Client.ExpectSetBreakpointsResponse should have comment or be unexported (golint)
    • Line 130: warning: exported method Client.ExpectStoppedEvent should have comment or be unexported (golint)
    • Line 135: warning: exported method Client.ExpectConfigurationDoneResponse should have comment or be unexported (golint)
    • Line 140: warning: exported method Client.ExpectThreadsResponse should have comment or be unexported (golint)
    • Line 145: warning: exported method Client.ExpectStackTraceResponse should have comment or be unexported (golint)
    • Line 150: warning: exported method Client.ExpectTerminateResponse should have comment or be unexported (golint)
    • Line 155: warning: exported method Client.ExpectRestartResponse should have comment or be unexported (golint)
    • Line 160: warning: exported method Client.ExpectSetFunctionBreakpointsResponse should have comment or be unexported (golint)
    • Line 165: warning: exported method Client.ExpectStepBackResponse should have comment or be unexported (golint)
    • Line 170: warning: exported method Client.ExpectReverseContinueResponse should have comment or be unexported (golint)
    • Line 175: warning: exported method Client.ExpectRestartFrameResponse should have comment or be unexported (golint)
    • Line 180: warning: exported method Client.ExpectSetExpressionResponse should have comment or be unexported (golint)
    • Line 185: warning: exported method Client.ExpectTerminateThreadsResponse should have comment or be unexported (golint)
    • Line 190: warning: exported method Client.ExpectStepInTargetsResponse should have comment or be unexported (golint)
    • Line 195: warning: exported method Client.ExpectGotoTargetsResponse should have comment or be unexported (golint)
    • Line 200: warning: exported method Client.ExpectCompletionsResponse should have comment or be unexported (golint)
    • Line 205: warning: exported method Client.ExpectExceptionInfoResponse should have comment or be unexported (golint)
    • Line 210: warning: exported method Client.ExpectLoadedSourcesResponse should have comment or be unexported (golint)
    • Line 215: warning: exported method Client.ExpectDataBreakpointInfoResponse should have comment or be unexported (golint)
    • Line 220: warning: exported method Client.ExpectSetDataBreakpointsResponse should have comment or be unexported (golint)
    • Line 225: warning: exported method Client.ExpectReadMemoryResponse should have comment or be unexported (golint)
    • Line 230: warning: exported method Client.ExpectDisassembleResponse should have comment or be unexported (golint)
    • Line 235: warning: exported method Client.ExpectCancelResponse should have comment or be unexported (golint)
    • Line 240: warning: exported method Client.ExpectBreakpointLocationsResponse should have comment or be unexported (golint)
    • Line 245: warning: exported method Client.ExpectModulesResponse should have comment or be unexported (golint)
    • Line 388: warning: comment on exported method Client.TerminateRequest should be of the form "TerminateRequest ..." (golint)
    • delve/pkg/dwarf/line/state_machine_test.go
    • Line 141: warning: don't use underscores in Go names; var write_DW_LNE_set_address should be writeDWLNESetAddress (golint)
    • Line 148: warning: don't use underscores in Go names; var write_DW_LNS_copy should be writeDWLNSCopy (golint)
    • Line 152: warning: don't use underscores in Go names; var write_DW_LNS_advance_pc should be writeDWLNSAdvancePc (golint)
    • Line 157: warning: don't use underscores in Go names; var write_DW_LNS_advance_line should be writeDWLNSAdvanceLine (golint)
    • Line 162: warning: don't use underscores in Go names; var write_DW_LNE_end_sequence should be writeDWLNEEndSequence (golint)
    • delve/pkg/proc/winutil/regs.go
    • Line 150: warning: exported method AMD64Registers.BP should have comment or be unexported (golint)
    • Line 355: warning: don't use underscores in Go names; struct field MxCsr_Mask should be MxCsrMask (golint)
    • delve/pkg/dwarf/frame/entries.go
    • Line 9: warning: comment on exported type CommonInformationEntry should be of the form "CommonInformationEntry ..." (with optional leading article) (golint)
    • Line 13: warning: don't use underscores in Go names; struct field CIE_id should be CIEID (golint)
    • Line 23: warning: comment on exported type FrameDescriptionEntry should be of the form "FrameDescriptionEntry ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported method FrameDescriptionEntry.Cover should be of the form "Cover ..." (golint)
    • Line 39: warning: comment on exported method FrameDescriptionEntry.Begin should be of the form "Begin ..." (golint)
    • Line 44: warning: comment on exported method FrameDescriptionEntry.End should be of the form "End ..." (golint)
    • Line 49: warning: comment on exported method FrameDescriptionEntry.EstablishFrame should be of the form "EstablishFrame ..." (golint)
    • Line 54: warning: exported type FrameDescriptionEntries should have comment or be unexported (golint)
    • Line 60: warning: exported type ErrNoFDEForPC should have comment or be unexported (golint)
    • Line 68: warning: comment on exported method FrameDescriptionEntries.FDEForPC should be of the form "FDEForPC ..." (golint)
    • delve/pkg/proc/target.go
    • Line 70: warning: exported const StopUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 187: warning: receiver name p should be consistent with previous receiver name t for Target (golint)
    • Line 202: warning: receiver name p should be consistent with previous receiver name t for Target (golint)
    • delve/pkg/dwarf/frame/expression_constants.go
    • Line 5: warning: don't use underscores in Go names; const DW_OP_addr should be DWOPAddr (golint)
    • Line 6: warning: don't use underscores in Go names; const DW_OP_const1s should be DWOPConst1s (golint)
    • Line 10: warning: don't use underscores in Go names; const DW_OP_const2u should be DWOPConst2u (golint)
    • Line 10: warning: exported const DW_OP_const2u should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; const DW_OP_const2s should be DWOPConst2s (golint)
    • Line 12: warning: don't use underscores in Go names; const DW_OP_const4u should be DWOPConst4u (golint)
    • Line 13: warning: don't use underscores in Go names; const DW_OP_const4s should be DWOPConst4s (golint)
    • Line 14: warning: don't use underscores in Go names; const DW_OP_const8u should be DWOPConst8u (golint)
    • Line 15: warning: don't use underscores in Go names; const DW_OP_const8s should be DWOPConst8s (golint)
    • Line 16: warning: don't use underscores in Go names; const DW_OP_constu should be DWOPConstu (golint)
    • Line 17: warning: don't use underscores in Go names; const DW_OP_consts should be DWOPConsts (golint)
    • Line 18: warning: don't use underscores in Go names; const DW_OP_dup should be DWOPDup (golint)
    • Line 19: warning: don't use underscores in Go names; const DW_OP_drop should be DWOPDrop (golint)
    • Line 20: warning: don't use underscores in Go names; const DW_OP_over should be DWOPOver (golint)
    • Line 21: warning: don't use underscores in Go names; const DW_OP_pick should be DWOPPick (golint)
    • Line 22: warning: don't use underscores in Go names; const DW_OP_swap should be DWOPSwap (golint)
    • Line 23: warning: don't use underscores in Go names; const DW_OP_rot should be DWOPRot (golint)
    • Line 24: warning: don't use underscores in Go names; const DW_OP_xderef should be DWOPXderef (golint)
    • Line 25: warning: don't use underscores in Go names; const DW_OP_abs should be DWOPAbs (golint)
    • Line 26: warning: don't use underscores in Go names; const DW_OP_and should be DWOPAnd (golint)
    • Line 27: warning: don't use underscores in Go names; const DW_OP_div should be DWOPDiv (golint)
    • Line 28: warning: don't use underscores in Go names; const DW_OP_minus should be DWOPMinus (golint)
    • Line 29: warning: don't use underscores in Go names; const DW_OP_mod should be DWOPMod (golint)
    • Line 30: warning: don't use underscores in Go names; const DW_OP_mul should be DWOPMul (golint)
    • Line 31: warning: don't use underscores in Go names; const DW_OP_neg should be DWOPNeg (golint)
    • Line 32: warning: don't use underscores in Go names; const DW_OP_not should be DWOPNot (golint)
    • Line 33: warning: don't use underscores in Go names; const DW_OP_or should be DWOPOr (golint)
    • Line 34: warning: don't use underscores in Go names; const DW_OP_plus should be DWOPPlus (golint)
    • Line 35: warning: don't use underscores in Go names; const DW_OP_plus_uconst should be DWOPPlusUconst (golint)
    • Line 36: warning: don't use underscores in Go names; const DW_OP_shl should be DWOPShl (golint)
    • Line 37: warning: don't use underscores in Go names; const DW_OP_shr should be DWOPShr (golint)
    • Line 38: warning: don't use underscores in Go names; const DW_OP_shra should be DWOPShra (golint)
    • Line 39: warning: don't use underscores in Go names; const DW_OP_xor should be DWOPXor (golint)
    • Line 40: warning: don't use underscores in Go names; const DW_OP_skip should be DWOPSkip (golint)
    • Line 41: warning: don't use underscores in Go names; const DW_OP_bra should be DWOPBra (golint)
    • Line 42: warning: don't use underscores in Go names; const DW_OP_eq should be DWOPEq (golint)
    • Line 43: warning: don't use underscores in Go names; const DW_OP_ge should be DWOPGe (golint)
    • Line 44: warning: don't use underscores in Go names; const DW_OP_gt should be DWOPGt (golint)
    • Line 45: warning: don't use underscores in Go names; const DW_OP_le should be DWOPLe (golint)
    • Line 46: warning: don't use underscores in Go names; const DW_OP_lt should be DWOPLt (golint)
    • Line 47: warning: don't use underscores in Go names; const DW_OP_ne should be DWOPNe (golint)
    • Line 51: warning: don't use underscores in Go names; const DW_OP_lit0 should be DWOPLit0 (golint)
    • Line 51: warning: exported const DW_OP_lit0 should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: don't use underscores in Go names; const DW_OP_lit1 should be DWOPLit1 (golint)
    • Line 53: warning: don't use underscores in Go names; const DW_OP_lit2 should be DWOPLit2 (golint)
    • Line 54: warning: don't use underscores in Go names; const DW_OP_lit3 should be DWOPLit3 (golint)
    • Line 55: warning: don't use underscores in Go names; const DW_OP_lit4 should be DWOPLit4 (golint)
    • Line 56: warning: don't use underscores in Go names; const DW_OP_lit5 should be DWOPLit5 (golint)
    • Line 57: warning: don't use underscores in Go names; const DW_OP_lit6 should be DWOPLit6 (golint)
    • Line 58: warning: don't use underscores in Go names; const DW_OP_lit7 should be DWOPLit7 (golint)
    • Line 59: warning: don't use underscores in Go names; const DW_OP_lit8 should be DWOPLit8 (golint)
    • Line 60: warning: don't use underscores in Go names; const DW_OP_lit9 should be DWOPLit9 (golint)
    • Line 61: warning: don't use underscores in Go names; const DW_OP_lit10 should be DWOPLit10 (golint)
    • Line 62: warning: don't use underscores in Go names; const DW_OP_lit11 should be DWOPLit11 (golint)
    • Line 63: warning: don't use underscores in Go names; const DW_OP_lit12 should be DWOPLit12 (golint)
    • Line 64: warning: don't use underscores in Go names; const DW_OP_lit13 should be DWOPLit13 (golint)
    • Line 65: warning: don't use underscores in Go names; const DW_OP_lit14 should be DWOPLit14 (golint)
    • Line 66: warning: don't use underscores in Go names; const DW_OP_lit15 should be DWOPLit15 (golint)
    • Line 67: warning: don't use underscores in Go names; const DW_OP_lit16 should be DWOPLit16 (golint)
    • Line 68: warning: don't use underscores in Go names; const DW_OP_lit17 should be DWOPLit17 (golint)
    • Line 69: warning: don't use underscores in Go names; const DW_OP_lit18 should be DWOPLit18 (golint)
    • Line 70: warning: don't use underscores in Go names; const DW_OP_lit19 should be DWOPLit19 (golint)
    • Line 71: warning: don't use underscores in Go names; const DW_OP_lit20 should be DWOPLit20 (golint)
    • Line 72: warning: don't use underscores in Go names; const DW_OP_lit21 should be DWOPLit21 (golint)
    • Line 73: warning: don't use underscores in Go names; const DW_OP_lit22 should be DWOPLit22 (golint)
    • Line 74: warning: don't use underscores in Go names; const DW_OP_lit23 should be DWOPLit23 (golint)
    • Line 75: warning: don't use underscores in Go names; const DW_OP_lit24 should be DWOPLit24 (golint)
    • Line 76: warning: don't use underscores in Go names; const DW_OP_lit25 should be DWOPLit25 (golint)
    • Line 77: warning: don't use underscores in Go names; const DW_OP_lit26 should be DWOPLit26 (golint)
    • Line 78: warning: don't use underscores in Go names; const DW_OP_lit27 should be DWOPLit27 (golint)
    • Line 79: warning: don't use underscores in Go names; const DW_OP_lit28 should be DWOPLit28 (golint)
    • Line 80: warning: don't use underscores in Go names; const DW_OP_lit29 should be DWOPLit29 (golint)
    • Line 81: warning: don't use underscores in Go names; const DW_OP_lit30 should be DWOPLit30 (golint)
    • Line 82: warning: don't use underscores in Go names; const DW_OP_lit31 should be DWOPLit31 (golint)
    • Line 83: warning: don't use underscores in Go names; const DW_OP_reg0 should be DWOPReg0 (golint)
    • Line 84: warning: don't use underscores in Go names; const DW_OP_reg1 should be DWOPReg1 (golint)
    • Line 85: warning: don't use underscores in Go names; const DW_OP_reg2 should be DWOPReg2 (golint)
    • Line 86: warning: don't use underscores in Go names; const DW_OP_reg3 should be DWOPReg3 (golint)
    • Line 87: warning: don't use underscores in Go names; const DW_OP_reg4 should be DWOPReg4 (golint)
    • Line 88: warning: don't use underscores in Go names; const DW_OP_reg5 should be DWOPReg5 (golint)
    • Line 89: warning: don't use underscores in Go names; const DW_OP_reg6 should be DWOPReg6 (golint)
    • Line 90: warning: don't use underscores in Go names; const DW_OP_reg7 should be DWOPReg7 (golint)
    • Line 91: warning: don't use underscores in Go names; const DW_OP_reg8 should be DWOPReg8 (golint)
    • Line 92: warning: don't use underscores in Go names; const DW_OP_reg9 should be DWOPReg9 (golint)
    • Line 93: warning: don't use underscores in Go names; const DW_OP_reg10 should be DWOPReg10 (golint)
    • Line 94: warning: don't use underscores in Go names; const DW_OP_reg11 should be DWOPReg11 (golint)
    • Line 95: warning: don't use underscores in Go names; const DW_OP_reg12 should be DWOPReg12 (golint)
    • Line 96: warning: don't use underscores in Go names; const DW_OP_reg13 should be DWOPReg13 (golint)
    • Line 97: warning: don't use underscores in Go names; const DW_OP_reg14 should be DWOPReg14 (golint)
    • Line 98: warning: don't use underscores in Go names; const DW_OP_reg15 should be DWOPReg15 (golint)
    • Line 99: warning: don't use underscores in Go names; const DW_OP_reg16 should be DWOPReg16 (golint)
    • Line 100: warning: don't use underscores in Go names; const DW_OP_reg17 should be DWOPReg17 (golint)
    • Line 101: warning: don't use underscores in Go names; const DW_OP_reg18 should be DWOPReg18 (golint)
    • Line 102: warning: don't use underscores in Go names; const DW_OP_reg19 should be DWOPReg19 (golint)
    • Line 103: warning: don't use underscores in Go names; const DW_OP_reg20 should be DWOPReg20 (golint)
    • Line 104: warning: don't use underscores in Go names; const DW_OP_reg21 should be DWOPReg21 (golint)
    • Line 105: warning: don't use underscores in Go names; const DW_OP_reg22 should be DWOPReg22 (golint)
    • Line 106: warning: don't use underscores in Go names; const DW_OP_reg23 should be DWOPReg23 (golint)
    • Line 107: warning: don't use underscores in Go names; const DW_OP_reg24 should be DWOPReg24 (golint)
    • Line 108: warning: don't use underscores in Go names; const DW_OP_reg25 should be DWOPReg25 (golint)
    • Line 109: warning: don't use underscores in Go names; const DW_OP_reg26 should be DWOPReg26 (golint)
    • Line 110: warning: don't use underscores in Go names; const DW_OP_reg27 should be DWOPReg27 (golint)
    • Line 111: warning: don't use underscores in Go names; const DW_OP_reg28 should be DWOPReg28 (golint)
    • Line 112: warning: don't use underscores in Go names; const DW_OP_reg29 should be DWOPReg29 (golint)
    • Line 113: warning: don't use underscores in Go names; const DW_OP_reg30 should be DWOPReg30 (golint)
    • Line 114: warning: don't use underscores in Go names; const DW_OP_reg31 should be DWOPReg31 (golint)
    • Line 115: warning: don't use underscores in Go names; const DW_OP_breg0 should be DWOPBreg0 (golint)
    • Line 116: warning: don't use underscores in Go names; const DW_OP_breg1 should be DWOPBreg1 (golint)
    • Line 117: warning: don't use underscores in Go names; const DW_OP_breg2 should be DWOPBreg2 (golint)
    • Line 118: warning: don't use underscores in Go names; const DW_OP_breg3 should be DWOPBreg3 (golint)
    • Line 119: warning: don't use underscores in Go names; const DW_OP_breg4 should be DWOPBreg4 (golint)
    • Line 120: warning: don't use underscores in Go names; const DW_OP_breg5 should be DWOPBreg5 (golint)
    • Line 121: warning: don't use underscores in Go names; const DW_OP_breg6 should be DWOPBreg6 (golint)
    • Line 122: warning: don't use underscores in Go names; const DW_OP_breg7 should be DWOPBreg7 (golint)
    • Line 123: warning: don't use underscores in Go names; const DW_OP_breg8 should be DWOPBreg8 (golint)
    • Line 124: warning: don't use underscores in Go names; const DW_OP_breg9 should be DWOPBreg9 (golint)
    • Line 125: warning: don't use underscores in Go names; const DW_OP_breg10 should be DWOPBreg10 (golint)
    • Line 126: warning: don't use underscores in Go names; const DW_OP_breg11 should be DWOPBreg11 (golint)
    • Line 127: warning: don't use underscores in Go names; const DW_OP_breg12 should be DWOPBreg12 (golint)
    • Line 128: warning: don't use underscores in Go names; const DW_OP_breg13 should be DWOPBreg13 (golint)
    • Line 129: warning: don't use underscores in Go names; const DW_OP_breg14 should be DWOPBreg14 (golint)
    • Line 130: warning: don't use underscores in Go names; const DW_OP_breg15 should be DWOPBreg15 (golint)
    • Line 131: warning: don't use underscores in Go names; const DW_OP_breg16 should be DWOPBreg16 (golint)
    • Line 132: warning: don't use underscores in Go names; const DW_OP_breg17 should be DWOPBreg17 (golint)
    • Line 133: warning: don't use underscores in Go names; const DW_OP_breg18 should be DWOPBreg18 (golint)
    • Line 134: warning: don't use underscores in Go names; const DW_OP_breg19 should be DWOPBreg19 (golint)
    • Line 135: warning: don't use underscores in Go names; const DW_OP_breg20 should be DWOPBreg20 (golint)
    • Line 136: warning: don't use underscores in Go names; const DW_OP_breg21 should be DWOPBreg21 (golint)
    • Line 137: warning: don't use underscores in Go names; const DW_OP_breg22 should be DWOPBreg22 (golint)
    • Line 138: warning: don't use underscores in Go names; const DW_OP_breg23 should be DWOPBreg23 (golint)
    • Line 139: warning: don't use underscores in Go names; const DW_OP_breg24 should be DWOPBreg24 (golint)
    • Line 140: warning: don't use underscores in Go names; const DW_OP_breg25 should be DWOPBreg25 (golint)
    • Line 141: warning: don't use underscores in Go names; const DW_OP_breg26 should be DWOPBreg26 (golint)
    • Line 142: warning: don't use underscores in Go names; const DW_OP_breg27 should be DWOPBreg27 (golint)
    • Line 143: warning: don't use underscores in Go names; const DW_OP_breg28 should be DWOPBreg28 (golint)
    • Line 144: warning: don't use underscores in Go names; const DW_OP_breg29 should be DWOPBreg29 (golint)
    • Line 145: warning: don't use underscores in Go names; const DW_OP_breg30 should be DWOPBreg30 (golint)
    • Line 146: warning: don't use underscores in Go names; const DW_OP_breg31 should be DWOPBreg31 (golint)
    • Line 147: warning: don't use underscores in Go names; const DW_OP_regx should be DWOPRegx (golint)
    • Line 148: warning: don't use underscores in Go names; const DW_OP_fbreg should be DWOPFbreg (golint)
    • Line 149: warning: don't use underscores in Go names; const DW_OP_bregx should be DWOPBregx (golint)
    • Line 150: warning: don't use underscores in Go names; const DW_OP_piece should be DWOPPiece (golint)
    • Line 151: warning: don't use underscores in Go names; const DW_OP_deref_size should be DWOPDerefSize (golint)
    • Line 152: warning: don't use underscores in Go names; const DW_OP_xderef_size should be DWOPXderefSize (golint)
    • Line 153: warning: don't use underscores in Go names; const DW_OP_nop should be DWOPNop (golint)
    • Line 154: warning: don't use underscores in Go names; const DW_OP_push_object_address should be DWOPPushObjectAddress (golint)
    • Line 155: warning: don't use underscores in Go names; const DW_OP_call2 should be DWOPCall2 (golint)
    • Line 156: warning: don't use underscores in Go names; const DW_OP_call4 should be DWOPCall4 (golint)
    • Line 157: warning: don't use underscores in Go names; const DW_OP_call_ref should be DWOPCallRef (golint)
    • Line 158: warning: don't use underscores in Go names; const DW_OP_form_tls_address should be DWOPFormTLSAddress (golint)
    • Line 159: warning: don't use underscores in Go names; const DW_OP_call_frame_cfa should be DWOPCallFrameCfa (golint)
    • Line 160: warning: don't use underscores in Go names; const DW_OP_bit_piece should be DWOPBitPiece (golint)
    • Line 162: warning: don't use underscores in Go names; const DW_OP_lo_user should be DWOPLoUser (golint)
    • Line 163: warning: don't use underscores in Go names; const DW_OP_hi_user should be DWOPHiUser (golint)
    • delve/service/rpc2/client.go
    • Line 15: warning: comment on exported type RPCClient should be of the form "RPCClient ..." (with optional leading article) (golint)
    • Line 45: warning: exported method RPCClient.ProcessPid should have comment or be unexported (golint)
    • Line 51: warning: exported method RPCClient.LastModified should have comment or be unexported (golint)
    • Line 57: warning: exported method RPCClient.Detach should have comment or be unexported (golint)
    • Line 63: warning: exported method RPCClient.Restart should have comment or be unexported (golint)
    • Line 69: warning: exported method RPCClient.RestartFrom should have comment or be unexported (golint)
    • Line 75: warning: exported method RPCClient.GetState should have comment or be unexported (golint)
    • Line 81: warning: exported method RPCClient.GetStateNonBlocking should have comment or be unexported (golint)
    • Line 87: warning: exported method RPCClient.Continue should have comment or be unexported (golint)
    • Line 91: warning: exported method RPCClient.Rewind should have comment or be unexported (golint)
    • Line 95: warning: exported method RPCClient.DirectionCongruentContinue should have comment or be unexported (golint)
    • Line 137: warning: exported method RPCClient.Next should have comment or be unexported (golint)
    • Line 143: warning: exported method RPCClient.ReverseNext should have comment or be unexported (golint)
    • Line 149: warning: exported method RPCClient.Step should have comment or be unexported (golint)
    • Line 155: warning: exported method RPCClient.ReverseStep should have comment or be unexported (golint)
    • Line 161: warning: exported method RPCClient.StepOut should have comment or be unexported (golint)
    • Line 167: warning: exported method RPCClient.ReverseStepOut should have comment or be unexported (golint)
    • Line 173: warning: exported method RPCClient.Call should have comment or be unexported (golint)
    • Line 179: warning: exported method RPCClient.StepInstruction should have comment or be unexported (golint)
    • Line 185: warning: exported method RPCClient.ReverseStepInstruction should have comment or be unexported (golint)
    • Line 191: warning: exported method RPCClient.SwitchThread should have comment or be unexported (golint)
    • Line 201: warning: exported method RPCClient.SwitchGoroutine should have comment or be unexported (golint)
    • Line 211: warning: exported method RPCClient.Halt should have comment or be unexported (golint)
    • Line 217: warning: exported method RPCClient.GetBreakpoint should have comment or be unexported (golint)
    • Line 223: warning: exported method RPCClient.GetBreakpointByName should have comment or be unexported (golint)
    • Line 229: warning: exported method RPCClient.CreateBreakpoint should have comment or be unexported (golint)
    • Line 235: warning: exported method RPCClient.ListBreakpoints should have comment or be unexported (golint)
    • Line 241: warning: exported method RPCClient.ClearBreakpoint should have comment or be unexported (golint)
    • Line 247: warning: exported method RPCClient.ClearBreakpointByName should have comment or be unexported (golint)
    • Line 253: warning: exported method RPCClient.AmendBreakpoint should have comment or be unexported (golint)
    • Line 259: warning: exported method RPCClient.CancelNext should have comment or be unexported (golint)
    • Line 264: warning: exported method RPCClient.ListThreads should have comment or be unexported (golint)
    • Line 270: warning: exported method RPCClient.GetThread should have comment or be unexported (golint)
    • Line 276: warning: exported method RPCClient.EvalVariable should have comment or be unexported (golint)
    • Line 282: warning: exported method RPCClient.SetVariable should have comment or be unexported (golint)
    • Line 287: warning: exported method RPCClient.ListSources should have comment or be unexported (golint)
    • Line 293: warning: exported method RPCClient.ListFunctions should have comment or be unexported (golint)
    • Line 299: warning: exported method RPCClient.ListTypes should have comment or be unexported (golint)
    • Line 305: warning: exported method RPCClient.ListPackageVariables should have comment or be unexported (golint)
    • Line 311: warning: exported method RPCClient.ListLocalVariables should have comment or be unexported (golint)
    • Line 317: warning: exported method RPCClient.ListThreadRegisters should have comment or be unexported (golint)
    • Line 323: warning: exported method RPCClient.ListScopeRegisters should have comment or be unexported (golint)
    • Line 329: warning: exported method RPCClient.ListFunctionArgs should have comment or be unexported (golint)
    • Line 335: warning: exported method RPCClient.ListGoroutines should have comment or be unexported (golint)
    • Line 341: warning: exported method RPCClient.Stacktrace should have comment or be unexported (golint)
    • Line 347: warning: exported method RPCClient.Ancestors should have comment or be unexported (golint)
    • Line 353: warning: exported method RPCClient.AttachedToExistingProcess should have comment or be unexported (golint)
    • Line 359: warning: exported method RPCClient.FindLocation should have comment or be unexported (golint)
    • Line 365: warning: comment on exported method RPCClient.DisassembleRange should be of the form "DisassembleRange ..." (golint)
    • Line 372: warning: comment on exported method RPCClient.DisassemblePC should be of the form "DisassemblePC ..." (golint)
    • Line 414: warning: exported method RPCClient.SetReturnValuesLoadConfig should have comment or be unexported (golint)
    • Line 418: warning: exported method RPCClient.FunctionReturnLocations should have comment or be unexported (golint)
    • Line 424: warning: exported method RPCClient.IsMulticlient should have comment or be unexported (golint)
    • Line 430: warning: exported method RPCClient.Disconnect should have comment or be unexported (golint)
    • Line 438: warning: exported method RPCClient.ListDynamicLibraries should have comment or be unexported (golint)
    • Line 444: warning: exported method RPCClient.ExamineMemory should have comment or be unexported (golint)
    • Line 455: warning: exported method RPCClient.StopRecording should have comment or be unexported (golint)
    • Line 463: warning: exported method RPCClient.CallAPI should have comment or be unexported (golint)
    • delve/service/rpccommon/server.go
    • Line 48: warning: exported type RPCCallback should have comment or be unexported (golint)
    • Line 365: warning: exported method RPCCallback.Return should have comment or be unexported (golint)
    • Line 386: warning: comment on exported method RPCServer.SetApiVersion should be of the form "SetApiVersion ..." (golint)
    • delve/service/rpc1/server.go
    • Line 21: warning: exported type RPCServer should have comment or be unexported (golint)
    • Line 28: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 32: warning: exported method RPCServer.ProcessPid should have comment or be unexported (golint)
    • Line 37: warning: exported method RPCServer.Detach should have comment or be unexported (golint)
    • Line 45: warning: exported method RPCServer.Restart should have comment or be unexported (golint)
    • Line 53: warning: exported method RPCServer.State should have comment or be unexported (golint)
    • Line 62: warning: exported method RPCServer.Command should have comment or be unexported (golint)
    • Line 67: warning: exported method RPCServer.GetBreakpoint should have comment or be unexported (golint)
    • Line 76: warning: exported method RPCServer.GetBreakpointByName should have comment or be unexported (golint)
    • Line 85: warning: exported type StacktraceGoroutineArgs should have comment or be unexported (golint)
    • Line 91: warning: exported method RPCServer.StacktraceGoroutine should have comment or be unexported (golint)
    • Line 104: warning: exported method RPCServer.ListBreakpoints should have comment or be unexported (golint)
    • Line 109: warning: exported method RPCServer.CreateBreakpoint should have comment or be unexported (golint)
    • Line 118: warning: exported method RPCServer.ClearBreakpoint should have comment or be unexported (golint)
    • Line 131: warning: exported method RPCServer.ClearBreakpointByName should have comment or be unexported (golint)
    • Line 144: warning: exported method RPCServer.AmendBreakpoint should have comment or be unexported (golint)
    • Line 149: warning: exported method RPCServer.ListThreads should have comment or be unexported (golint)
    • Line 154: warning: exported method RPCServer.GetThread should have comment or be unexported (golint)
    • Line 166: warning: exported method RPCServer.ListPackageVars should have comment or be unexported (golint)
    • Line 185: warning: exported type ThreadListArgs should have comment or be unexported (golint)
    • Line 190: warning: exported method RPCServer.ListThreadPackageVars should have comment or be unexported (golint)
    • Line 207: warning: exported method RPCServer.ListRegisters should have comment or be unexported (golint)
    • Line 221: warning: exported method RPCServer.ListLocalVars should have comment or be unexported (golint)
    • Line 230: warning: exported method RPCServer.ListFunctionArgs should have comment or be unexported (golint)
    • Line 239: warning: exported type EvalSymbolArgs should have comment or be unexported (golint)
    • Line 244: warning: exported method RPCServer.EvalSymbol should have comment or be unexported (golint)
    • Line 253: warning: exported type SetSymbolArgs should have comment or be unexported (golint)
    • Line 259: warning: exported method RPCServer.SetSymbol should have comment or be unexported (golint)
    • Line 264: warning: exported method RPCServer.ListSources should have comment or be unexported (golint)
    • Line 273: warning: exported method RPCServer.ListFunctions should have comment or be unexported (golint)
    • Line 282: warning: exported method RPCServer.ListTypes should have comment or be unexported (golint)
    • Line 291: warning: exported method RPCServer.ListGoroutines should have comment or be unexported (golint)
    • Line 300: warning: exported method RPCServer.AttachedToExistingProcess should have comment or be unexported (golint)
    • Line 300: warning: receiver name c should be consistent with previous receiver name s for RPCServer (golint)
    • Line 307: warning: exported type FindLocationArgs should have comment or be unexported (golint)
    • Line 312: warning: exported method RPCServer.FindLocation should have comment or be unexported (golint)
    • Line 312: warning: receiver name c should be consistent with previous receiver name s for RPCServer (golint)
    • Line 318: warning: exported type DisassembleRequest should have comment or be unexported (golint)
    • Line 324: warning: exported method RPCServer.Disassemble should have comment or be unexported (golint)
    • Line 324: warning: receiver name c should be consistent with previous receiver name s for RPCServer (golint)
    • delve/pkg/dwarf/line/state_machine.go
    • Line 13: warning: exported type Location should have comment or be unexported (golint)
    • Line 20: warning: exported type StateMachine should have comment or be unexported (golint)
    • Line 64: warning: don't use underscores in Go names; const DW_LNS_copy should be DWLNSCopy (golint)
    • Line 65: warning: don't use underscores in Go names; const DW_LNS_advance_pc should be DWLNSAdvancePc (golint)
    • Line 66: warning: don't use underscores in Go names; const DW_LNS_advance_line should be DWLNSAdvanceLine (golint)
    • Line 67: warning: don't use underscores in Go names; const DW_LNS_set_file should be DWLNSSetFile (golint)
    • Line 68: warning: don't use underscores in Go names; const DW_LNS_set_column should be DWLNSSetColumn (golint)
    • Line 69: warning: don't use underscores in Go names; const DW_LNS_negate_stmt should be DWLNSNegateStmt (golint)
    • Line 70: warning: don't use underscores in Go names; const DW_LNS_set_basic_block should be DWLNSSetBasicBlock (golint)
    • Line 71: warning: don't use underscores in Go names; const DW_LNS_const_add_pc should be DWLNSConstAddPc (golint)
    • Line 72: warning: don't use underscores in Go names; const DW_LNS_fixed_advance_pc should be DWLNSFixedAdvancePc (golint)
    • Line 73: warning: don't use underscores in Go names; const DW_LNS_prologue_end should be DWLNSPrologueEnd (golint)
    • Line 74: warning: don't use underscores in Go names; const DW_LNS_epilogue_begin should be DWLNSEpilogueBegin (golint)
    • Line 75: warning: don't use underscores in Go names; const DW_LNS_set_isa should be DWLNSSetIsa (golint)
    • Line 80: warning: don't use underscores in Go names; const DW_LINE_end_sequence should be DWLINEEndSequence (golint)
    • Line 81: warning: don't use underscores in Go names; const DW_LINE_set_address should be DWLINESetAddress (golint)
    • Line 82: warning: don't use underscores in Go names; const DW_LINE_define_file should be DWLINEDefineFile (golint)
    • Line 83: warning: don't use underscores in Go names; const DW_LINE_set_discriminator should be DWLINESetDiscriminator (golint)
    • Line 158: warning: error var NoSourceError should have name of the form ErrFoo (golint)
    • Line 158: warning: exported var NoSourceError should have comment or be unexported (golint)
    • Line 250: warning: exported method StateMachine.PCToLine should have comment or be unexported (golint)
    • Line 339: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 408: warning: exported method DebugLineInfo.FirstFile should have comment or be unexported (golint)
    • delve/pkg/proc/bininfo.go
    • Line 243: warning: should omit 2nd value from range; this loop is equivalent to `for linuxArch := range ...` (golint)
    • Line 247: warning: should omit 2nd value from range; this loop is equivalent to `for windowArch := range ...` (golint)
    • Line 251: warning: should omit 2nd value from range; this loop is equivalent to `for darwinArch := range ...` (golint)
    • Line 502: warning: exported type ErrCouldNotFindLine should have comment or be unexported (golint)
    • Line 668: warning: receiver name image should be consistent with previous receiver name so for Image (golint)
    • Line 746: warning: exported method Image.Close should have comment or be unexported (golint)
    • Line 746: warning: receiver name image should be consistent with previous receiver name so for Image (golint)
    • Line 769: warning: receiver name image should be consistent with previous receiver name so for Image (golint)
    • Line 776: warning: receiver name image should be consistent with previous receiver name so for Image (golint)
    • Line 780: warning: receiver name image should be consistent with previous receiver name so for Image (golint)
    • Line 958: warning: receiver name bi should be consistent with previous receiver name so for Image (golint)
    • Line 979: warning: receiver name image should be consistent with previous receiver name so for Image (golint)
    • Line 1153: warning: comment on exported const STT_FUNC should be of the form "STT_FUNC ..." (golint)
    • Line 1996: warning: exported type PackageBuildInfo should have comment or be unexported (golint)
    • delve/pkg/proc/pe.go
    • Line 8: warning: exported const IMAGE_FILE_MACHINE_UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type PEMachine should have comment or be unexported (golint)
    • delve/pkg/proc/linutil/regs_arm64_arch.go
    • Line 10: warning: comment on exported type ARM64Registers should be of the form "ARM64Registers ..." (with optional leading article) (golint)
    • Line 19: warning: exported function NewARM64Registers should have comment or be unexported (golint)
    • Line 99: warning: exported method ARM64Registers.BP should have comment or be unexported (golint)
    • Line 148: warning: exported type ARM64PtraceFpRegs should have comment or be unexported (golint)
    • Line 156: warning: exported method ARM64PtraceFpRegs.Decode should have comment or be unexported (golint)
    • Line 163: warning: exported method ARM64PtraceFpRegs.Byte should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell94%

Misspell Finds commonly misspelled English words

    • delve/pkg/proc/bininfo.go
    • Line 110: warning: "independant" is a misspelling of "independent" (misspell)
    • Line 545: warning: "occurence" is a misspelling of "occurrence" (misspell)
    • Line 548: warning: "occurence" is a misspelling of "occurrence" (misspell)