README ¶ errifinline Go linter to check if single error assignments are inline. Google | Uber Install go install github.com/bastianccm/errifinline/cmd/errifinline@latest Usage errifinline ./... Example err := something() if err != nil { // this should inline _, err := something()... ... } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func NewAnalyzer() (*analysis.Analyzer, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewAnalyzer ¶ func NewAnalyzer() (*analysis.Analyzer, error) Types ¶ This section is empty. Source Files ¶ View all Source files errifinline.go Directories ¶ Show internal Expand all Path Synopsis cmd errifinline command Click to show internal directories. Click to hide internal directories.