Versions in this module Expand all Collapse all v0 v0.2.0 Aug 14, 2017 v0.1.0 Aug 7, 2017 Changes in this version + const MsgInvalidHostPort + const MsgInvalidUTF8 + const MsgNonUniqueCutset + func CanBinaryMarshal(j *lint.Job, v Value) bool + func ConvertedFrom(v Value, typ string) bool + func ConvertedFromInt(v Value) bool + func IntValue(v Value, z vrp.Z) bool + func InvalidUTF8(v Value) bool + func Pointer(v Value) bool + func UnbufferedChannel(v Value) bool + func UniqueStringCutset(v Value) bool + func ValidHostPort(v Value) bool + func ValidateRegexp(v Value) error + func ValidateTimeLayout(v Value) error + func ValidateURL(v Value) error + type Argument struct + Value Value + func (arg *Argument) Invalid(msg string) + type Call struct + Args []*Argument + Checker *Checker + Instr ssa.CallInstruction + Job *lint.Job + Parent *ssa.Function + func (c *Call) Invalid(msg string) + type CallCheck func(call *Call) + func RepeatZeroTimes(name string, arg int) CallCheck + type Checker struct + CheckGenerated bool + func NewChecker() *Checker + func (c *Checker) CheckArgOverwritten(j *lint.Job) + func (c *Checker) CheckBenchmarkN(j *lint.Job) + func (c *Checker) CheckCanonicalHeaderKey(j *lint.Job) + func (c *Checker) CheckConcurrentTesting(j *lint.Job) + func (c *Checker) CheckCyclicFinalizer(j *lint.Job) + func (c *Checker) CheckDeferInInfiniteLoop(j *lint.Job) + func (c *Checker) CheckDeferLock(j *lint.Job) + func (c *Checker) CheckDeprecated(j *lint.Job) + func (c *Checker) CheckDiffSizeComparison(j *lint.Job) + func (c *Checker) CheckDoubleNegation(j *lint.Job) + func (c *Checker) CheckDubiousDeferInChannelRangeLoop(j *lint.Job) + func (c *Checker) CheckEarlyDefer(j *lint.Job) + func (c *Checker) CheckEmptyBranch(j *lint.Job) + func (c *Checker) CheckEmptyCriticalSection(j *lint.Job) + func (c *Checker) CheckExec(j *lint.Job) + func (c *Checker) CheckFlagUsage(j *lint.Job) + func (c *Checker) CheckIneffectiveAppend(j *lint.Job) + func (c *Checker) CheckIneffectiveCopy(j *lint.Job) + func (c *Checker) CheckIneffectiveFieldAssignments(j *lint.Job) + func (c *Checker) CheckIneffectiveLoop(j *lint.Job) + func (c *Checker) CheckInfiniteEmptyLoop(j *lint.Job) + func (c *Checker) CheckInfiniteRecursion(j *lint.Job) + func (c *Checker) CheckLeakyTimeTick(j *lint.Job) + func (c *Checker) CheckLhsRhsIdentical(j *lint.Job) + func (c *Checker) CheckLoopCondition(j *lint.Job) + func (c *Checker) CheckLoopEmptyDefault(j *lint.Job) + func (c *Checker) CheckMapBytesKey(j *lint.Job) + func (c *Checker) CheckNaNComparison(j *lint.Job) + func (c *Checker) CheckNilContext(j *lint.Job) + func (c *Checker) CheckNilMaps(j *lint.Job) + func (c *Checker) CheckNonOctalFileMode(j *lint.Job) + func (c *Checker) CheckPredeterminedBooleanExprs(j *lint.Job) + func (c *Checker) CheckPureFunctions(j *lint.Job) + func (c *Checker) CheckRangeStringRunes(j *lint.Job) + func (c *Checker) CheckRepeatedIfElse(j *lint.Job) + func (c *Checker) CheckScopedBreak(j *lint.Job) + func (c *Checker) CheckSeeker(j *lint.Job) + func (c *Checker) CheckSelfAssignment(j *lint.Job) + func (c *Checker) CheckSillyBitwiseOps(j *lint.Job) + func (c *Checker) CheckSliceOutOfBounds(j *lint.Job) + func (c *Checker) CheckTemplate(j *lint.Job) + func (c *Checker) CheckTestMainExit(j *lint.Job) + func (c *Checker) CheckTimeSleepConstant(j *lint.Job) + func (c *Checker) CheckUnreadVariableValues(j *lint.Job) + func (c *Checker) CheckUnsafePrintf(j *lint.Job) + func (c *Checker) CheckUnsignedComparison(j *lint.Job) + func (c *Checker) CheckUntrappableSignal(j *lint.Job) + func (c *Checker) CheckWaitgroupAdd(j *lint.Job) + func (c *Checker) CheckWriterBufferModified(j *lint.Job) + func (c *Checker) Funcs() map[string]lint.Func + func (c *Checker) Init(prog *lint.Program) + type Value struct + Range vrp.Range + Value ssa.Value