package
Version:
v0.0.0-...-312545f
Opens a new window with list of versions in this module.
Published: Sep 17, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DB struct {
DB *gorm.DB
}
DB is the root database for all operations
Connect to the database instance
Seed the database with test data
User fetches the user from the database by their id
Source Files
¶
Click to show internal directories.
Click to hide internal directories.