Documentation ¶
Index ¶
- Constants
- Variables
- func Diff(ctx context.Context, e Env, dir, name string, stderr io.Writer) error
- func Do(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) int
- func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer) (map[string]string, error)
- func NewCmdVet() *cobra.Command
- func Vet(ctx context.Context, e Env, dir, filename string, stderr io.Writer) error
- type Env
Constants ¶
View Source
const QueryFlagSqlcVetDisable = "@sqlc-vet-disable"
View Source
const RuleDbPrepare = "sqlc/db-prepare"
Variables ¶
View Source
var ErrFailedChecks = errors.New("failed checks")
View Source
var ErrPluginProcessDisabled = errors.New("plugin: process-based plugins disabled via SQLCDEBUG=processplugins=0")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.