Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Definitions = []di.Def{ { Name: "focus.menu.repositories.menus", Build: func(ctn di.Container) (interface{}, error) { db := ctn.Get("focus.db").(*gorm.DB) return repositories.NewMenuRepository(db), nil }, }, { Name: "focus.menu.repositories.menuItems", Build: func(ctn di.Container) (interface{}, error) { db := ctn.Get("focus.db").(*gorm.DB) return repositories.NewMenuItemRepository(db), nil }, }, { Name: "focus.menu.repositories.domains", Build: func(ctn di.Container) (interface{}, error) { db := ctn.Get("focus.db").(*gorm.DB) return repositories.NewDomainRepository(db), nil }, }, }
Definitions
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.