postgres

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 3 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL