Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GORMDatabaseModule ¶
func NewGORMDatabaseModule ¶
func NewGORMDatabaseModule(name string, options *Options) *GORMDatabaseModule
func (*GORMDatabaseModule) Configure ¶
func (p *GORMDatabaseModule) Configure() error
func (*GORMDatabaseModule) GetDB ¶
func (p *GORMDatabaseModule) GetDB() *gorm.DB
type MigrationFunc ¶
type Options ¶
type Options struct {
Migrations []MigrationFunc
}
Click to show internal directories.
Click to hide internal directories.