Documentation ¶
Index ¶
Constants ¶
View Source
const ( IgnoreFuncCallsFlagName = "ignore-func-calls" IgnoreFuncCallsFlagUsage = "comma separated list of regexp patterns of fully qualified function calls to ignore" IgnoreFuncCallsFlagDefault = "github.com/stretchr/testify/assert,github.com/stretchr/testify/require" )
Fully qualified function examples:
- github.com/stretchr/testify/require.Equal
- (*github.com/stretchr/testify/assert.Assertions).Equal
Variables ¶
This section is empty.
Functions ¶
func NewAnalyzer ¶
NewAnalyzer returns Analyzer that checks formatting of paired brackets.
Types ¶
type Element ¶
type Element string
const ( Unknown Element = "element" Argument Element = "argument" CompositeElement Element = "composite element" Constant Element = "constant" Expression Element = "expression" Field Element = "field" Import Element = "import" Index Element = "index" Method Element = "method" Parameter Element = "parameter" Receiver Element = "receiver" Result Element = "result" Statement Element = "statement" Type Element = "type" TypeParameter Element = "type parameter" Variable Element = "variable" )
Click to show internal directories.
Click to hide internal directories.