psql

package
v0.0.0-...-076fb55 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CityRepository

type CityRepository struct {
	// contains filtered or unexported fields
}

func NewCityRepository

func NewCityRepository(db *gorm.DB) *CityRepository

func (*CityRepository) GetByID

func (lr *CityRepository) GetByID(id uint) (dto.CityDTO, error)

func (*CityRepository) Put

func (lr *CityRepository) Put(c dto.CityDTO) (dto.CityDTO, error)

type CompanyRepository

type CompanyRepository struct {
	// contains filtered or unexported fields
}

func NewCompanyRepository

func NewCompanyRepository(db *gorm.DB) *CompanyRepository

func (*CompanyRepository) Put

type CountryRepository

type CountryRepository struct {
	// contains filtered or unexported fields
}

func NewCountryRepository

func NewCountryRepository(db *gorm.DB) *CountryRepository

func (*CountryRepository) GetByID

func (lr *CountryRepository) GetByID(id uint) (dto.CountryDTO, error)

func (*CountryRepository) Put

type DetailedFranchiseRepository

type DetailedFranchiseRepository struct {
	// contains filtered or unexported fields
}

func NewDetailedFranchiseRepository

func NewDetailedFranchiseRepository(db *gorm.DB) *DetailedFranchiseRepository

func (*DetailedFranchiseRepository) FindAll

type FranchiseRepository

type FranchiseRepository struct {
	// contains filtered or unexported fields
}

func NewFranchiseRepository

func NewFranchiseRepository(db *gorm.DB) *FranchiseRepository

func (*FranchiseRepository) ConsultLocationID

func (fr *FranchiseRepository) ConsultLocationID(id string) (uint, error)

func (*FranchiseRepository) Put

func (*FranchiseRepository) Update

type LocationRepository

type LocationRepository struct {
	// contains filtered or unexported fields
}

func NewLocationRepository

func NewLocationRepository(db *gorm.DB) *LocationRepository

func (*LocationRepository) GetByID

func (lr *LocationRepository) GetByID(id uint) (dto.LocationDTO, error)

func (*LocationRepository) Put

type PendingFranchizeRepository

type PendingFranchizeRepository struct {
	// contains filtered or unexported fields
}

func NewPendingFranchizeRepository

func NewPendingFranchizeRepository(db *gorm.DB) *PendingFranchizeRepository

func (*PendingFranchizeRepository) GetStatusByID

func (pfr *PendingFranchizeRepository) GetStatusByID(id string) (string, error)

func (*PendingFranchizeRepository) Put

func (*PendingFranchizeRepository) UpdateStatus

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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