repository

package
v0.0.0-...-3eef48c Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrganizationRepository

type OrganizationRepository interface {
	Save(*domain.Organization) shared.Output
	Delete(*domain.Organization) shared.Output
	FindByID(uint) shared.Output
	FindAll(*shared.Parameters) shared.Output
	Count(*shared.Parameters) shared.Output
}

OrganizationRepository interface

type OrganizationRepositoryGorm

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

OrganizationRepositoryGorm struct

func NewOrganizationRepositoryGorm

func NewOrganizationRepositoryGorm(db *gorm.DB) *OrganizationRepositoryGorm

NewOrganizationRepositoryGorm function

func (*OrganizationRepositoryGorm) Count

func (organizationRepositoryGorm *OrganizationRepositoryGorm) Count(params *shared.Parameters) shared.Output

Count function

func (*OrganizationRepositoryGorm) Delete

func (organizationRepositoryGorm *OrganizationRepositoryGorm) Delete(organization *domain.Organization) shared.Output

Delete function

func (*OrganizationRepositoryGorm) FindAll

func (organizationRepositoryGorm *OrganizationRepositoryGorm) FindAll(params *shared.Parameters) shared.Output

FindAll function

func (*OrganizationRepositoryGorm) FindByID

func (organizationRepositoryGorm *OrganizationRepositoryGorm) FindByID(id uint) shared.Output

FindByID function

func (*OrganizationRepositoryGorm) Save

func (organizationRepositoryGorm *OrganizationRepositoryGorm) Save(organization *domain.Organization) shared.Output

Save function

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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