Versions in this module Expand all Collapse all v0 v0.1.1 Apr 12, 2026 v0.1.0 Apr 12, 2026 Changes in this version + func RunInitSQL(db *gorm.DB, sqlFilePath string) error + func RunMigrations(db *gorm.DB, models []any) error + type Bootstrap struct + func NewBootstrap(logWriter io.Writer, opts *Options) *Bootstrap + func (b *Bootstrap) PrintBannerFromFile(filename string) error + func (b *Bootstrap) SetupDatabase() (*gorm.DB, error) + type Options struct + AutoMigrate bool + DBDriver string + DSN string + InitSQLPath string + MigrationsDir string + Models []any + SeedFuncs []SeedFunc + SeedNonProd bool + type SeedFunc func(db *gorm.DB) error + type SeedService struct + func NewSeedService(db *gorm.DB) *SeedService + func (s *SeedService) SeedAll(seedFuncs ...SeedFunc) error