repository

package
v0.0.0-...-162f72e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migration

func Migration(db *gorm.DB)

Types

type Drivers

type Drivers struct {
	Neo4jDriver *neo4j.DriverWithContext
	PostgresDB  *commonConfig.PostgresDB
}

type Repositories

type Repositories struct {
	Drivers Drivers

	Neo4jRepositories    *neo4jrepository.Repositories
	PostgresRepositories *postgresRepository.Repositories
	InvoiceRepository    repository.InvoiceRepository
}

func InitRepos

func InitRepos(driver *neo4j.DriverWithContext, neo4jDatabase string, postgresDB *commonConfig.PostgresDB) *Repositories

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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