Documentation ¶
Index ¶
- Variables
- func BuildContainer() *dig.Container
- func ConnectDatabase(configuration *config.Configuration) *driver.DB
- func HandlerManager(repo repository.PostRepo) *chi.Mux
- func LoadConfiguration() *config.Configuration
- func RestRepoManager() repository.PostRepo
- func SQLRepoManager(connection *driver.DB) repository.PostRepo
Constants ¶
This section is empty.
Variables ¶
View Source
var Container *dig.Container
Functions ¶
func BuildContainer ¶
func ConnectDatabase ¶
func ConnectDatabase(configuration *config.Configuration) *driver.DB
func HandlerManager ¶
func HandlerManager(repo repository.PostRepo) *chi.Mux
func LoadConfiguration ¶
func LoadConfiguration() *config.Configuration
func RestRepoManager ¶
func RestRepoManager() repository.PostRepo
func SQLRepoManager ¶
func SQLRepoManager(connection *driver.DB) repository.PostRepo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.