Documentation ¶
Overview ¶
Package makezero provides a linter for appends to slices initialized with non-zero length.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendIssue ¶
type AppendIssue struct {
// contains filtered or unexported fields
}
func (AppendIssue) Details ¶
func (a AppendIssue) Details() string
func (AppendIssue) Pos ¶ added in v1.1.1
func (a AppendIssue) Pos() token.Pos
func (AppendIssue) Position ¶
func (a AppendIssue) Position() token.Position
func (AppendIssue) String ¶
func (a AppendIssue) String() string
type MustHaveNonZeroInitLenIssue ¶
type MustHaveNonZeroInitLenIssue struct {
// contains filtered or unexported fields
}
func (MustHaveNonZeroInitLenIssue) Details ¶
func (i MustHaveNonZeroInitLenIssue) Details() string
func (MustHaveNonZeroInitLenIssue) Pos ¶ added in v1.1.1
func (i MustHaveNonZeroInitLenIssue) Pos() token.Pos
func (MustHaveNonZeroInitLenIssue) Position ¶
func (i MustHaveNonZeroInitLenIssue) Position() token.Position
func (MustHaveNonZeroInitLenIssue) String ¶
func (i MustHaveNonZeroInitLenIssue) String() string
Click to show internal directories.
Click to hide internal directories.