Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2026 Changes in this version + const Name + const Priority + type Hook struct + func New() *Hook + func (h *Hook) Index() *Index + func (h *Hook) Name() string + func (h *Hook) Priority() int + func (h *Hook) SetLogger(l *slog.Logger) + func (h *Hook) TransformCatalog(_ context.Context, c *introspect.Catalog) error + type Index struct + Columns map[string]smarttags.Tags + ColumnsBy map[string]smarttags.Tags + Constraints map[string]smarttags.Tags + Enums map[string]smarttags.Tags + EnumsBy map[string]smarttags.Tags + Functions map[string]smarttags.Tags + FunctionsBy map[string]smarttags.Tags + Tables map[string]smarttags.Tags + TablesBy map[string]smarttags.Tags + func BuildIndex(c *introspect.Catalog) *Index + func (ix *Index) Column(schema, table, column string) smarttags.Tags + func (ix *Index) Constraint(schema, constraint string) smarttags.Tags + func (ix *Index) Enum(schema, name string) smarttags.Tags + func (ix *Index) Function(schema, name string) smarttags.Tags + func (ix *Index) RenamedColumn(schema, table, column string) string + func (ix *Index) RenamedColumns(schema, table string, cols []string) []string + func (ix *Index) RenamedTable(schema, table string) string + func (ix *Index) Table(schema, table string) smarttags.Tags