Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(dst interface{})
Create a new instance of the supplied interface, this is a helper wrapper around the database so you don't need to check FetchDatabase
func FetchDatabase ¶
FetchDatabase Return the current database pointer
func InitDatabase ¶
func InitDatabase(dbName *string, dst ...interface{})
InitDatabase Create a db in the dbName path/filename, and migrate it with the supplied models
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.