Versions in this module Expand all Collapse all v1 v1.2.1 Mar 21, 2017 v1.2.0 Mar 21, 2017 Changes in this version + const MsgInvalidHostPort + const MsgInvalidUTF8 + 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 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) CheckIneffecitiveFieldAssignments(j *lint.Job) + func (c *Checker) CheckIneffectiveCopy(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) 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) CheckRepeatedIfElse(j *lint.Job) + func (c *Checker) CheckScopedBreak(j *lint.Job) + func (c *Checker) CheckSeeker(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