Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct { Auth auth.Repository Categories categories.Repository Fields fields.Repository Forms forms.Repository Media media.Repository Options options.Repository Posts posts.Repository Redirects redirects.Repository Roles roles.Repository User users.Repository }
Repository defines all of the repositories used to interact with the database
func New ¶
func New(db database.Driver, running bool) (*Repository, *domain.ThemeConfig, error)
TODO Change! Create a new database instance, connect to database.
Click to show internal directories.
Click to hide internal directories.