Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FileDatabasePath is the path to look for database FileDatabasePath = ".filedb" // DB is an instance of a database connection DB *gorm.DB )
View Source
var ( // ErrDatabaseNotPresent will be returned whenever a crud operation is performed in a non-initialized diretory ErrDatabaseNotPresent = fmt.Errorf("Database file does not exist. Please run init") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.