Documentation ¶
Index ¶
Constants ¶
View Source
const ENABLE_PGSQL_CHECK = "CREATE EXTENSION IF NOT EXISTS plpgsql_check"
Variables ¶
View Source
var (
AllowedLevels = []string{
"warning",
"error",
}
)
Functions ¶
Types ¶
type Issue ¶
type Issue struct { Level string `json:"level"` Message string `json:"message"` Statement *Statement `json:"statement,omitempty"` Query *Query `json:"query,omitempty"` Hint string `json:"hint,omitempty"` Detail string `json:"detail,omitempty"` Context string `json:"context,omitempty"` SQLState string `json:"sqlState,omitempty"` }
Click to show internal directories.
Click to hide internal directories.