Documentation ¶
Overview ¶
Package sqlrows defines an Analyzer that checks for mistakes using sql.Rows.
Index ¶
Constants ¶
View Source
const Doc = `` /* 506-byte string literal not displayed */
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "sqlrows", Doc: Doc, Requires: []*analysis.Analyzer{ inspect.Analyzer, buildssa.Analyzer, }, Flags: func() flag.FlagSet { flagSet := flag.NewFlagSet("sqlrows", flag.ExitOnError) flagCheckErr = flagSet.Bool("checkerr", false, "check whether rows.Err() has been called") return *flagSet }(), Run: run, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.