Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { // Migrate runs the auto migration for the database. Migrate() error // DB returns the underlying gorm.DB connection. DB() *gorm.DB // Close closes the database connection. Close() error }
DB is an interface that defines the methods for the GORM database connection.
Click to show internal directories.
Click to hide internal directories.