Versions in this module Expand all Collapse all v1 v1.20.2 Sep 5, 2023 v1.20.1 Sep 5, 2023 Changes in this version + const QueryFlagSqlcVetDisable + const RuleDbPrepare + var ErrFailedChecks = errors.New("failed checks") + var ErrPluginProcessDisabled = errors.New("plugin: process-based plugins disabled via SQLCDEBUG=processplugins=0") + 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 struct + Debug opts.Debug + DryRun bool + NoDatabase bool + NoRemote bool + func ParseEnv(c *cobra.Command) Env + func (e *Env) Validate(cfg *config.Config) error