Versions in this module Expand all Collapse all v0 v0.1.0 May 27, 2026 v0.0.1 May 27, 2026 Changes in this version + type Column struct + DataType string + Default *string + EnumValues []string + IsGenerated bool + IsIdentity bool + IsUnique bool + Kind Kind + MaxLength int + Name string + Nullable bool + UDTName string + type Driver interface + Close func(ctx context.Context) error + Introspect func(ctx context.Context) (Schema, error) + type ForeignKey struct + Columns []string + Name string + ReferencedColumns []string + ReferencedTable string + type Kind int + const KindBool + const KindBytes + const KindDate + const KindEnum + const KindFloat + const KindInt + const KindJSON + const KindString + const KindTime + const KindTimestamp + const KindUUID + const KindUnknown + func (k Kind) String() string + type Schema struct + Tables []Table + func Do(ctx context.Context, dataSourceName string) (Schema, error) + type Table struct + Columns []Column + CompositeUniques [][]string + ForeignKeys []ForeignKey + Name string + PrimaryKey []string