Versions in this module Expand all Collapse all v0 v0.5.0 Oct 23, 2026 Changes in this version + func Run(c *config.Config) error + type Conflict struct + Key string + Value string + type Excluded struct + Key string + Value string + type Field struct + ColumnName string + Comments []string + Imports []Import + IsArithmetic bool + IsCustom bool + IsNullable bool + IsPrimary bool + IsRelation bool + Kind string + Name string + Tag string + Type string + func NewCustomField(fieldName string, customTable *config.CustomTable, n *naming.Naming, ...) *Field + func NewField(c *schema.Column, customTable *config.CustomTable, driver string, ...) (*Field, error) + type Import struct + Alias string + Path string + type Index struct + Key string + Value string + type Model struct + Alias string + BunModel string + Comments []string + Conflicts []Conflict + CreatedAtType string + DeletedAtType string + Driver string + Excluded []Excluded + Fields []*Field + HasArithmetic bool + HasEquatable bool + HasField bool + HasNullable bool + HasOrdered bool + HasOrderedNonString bool + HasRelation bool + HasString bool + HasTime bool + Imports [][]Import + Indexes []Index + Model string + Module string + Package string + Table string + Timezone string + UpdatedAtType string + Version string + func NewCustomStruct(cfg *config.Config, st *config.CustomStruct) *Model + func NewModel(t *schema.Table, db *config.DB, cfg *config.Config, n *naming.Naming) (*Model, error) + type Tag config.Tag + func NewTag(key string, name string, options ...string) *Tag + func (t *Tag) String() string + type Tags struct + func NewTags(tags ...*Tag) *Tags + func (t *Tags) Add(tags ...*Tag) *Tags + func (t *Tags) String() string