bankaccount

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

Repository ...

func NewRepository

func NewRepository(db *gorm.DB) *Repository

NewRepository ...

func (*Repository) All

func (p *Repository) All(schema string) ([]model.BankAccount, error)

All ...

func (*Repository) Delete

func (p *Repository) Delete(id uint, schema string) error

Delete ...

func (*Repository) FindAll

func (p *Repository) FindAll(argsStr map[string]string, argsInt map[string]int, schema string) ([]model.BankAccount, error)

FindAll ...

func (*Repository) FindByID

func (p *Repository) FindByID(id uint, schema string) (*model.BankAccount, error)

FindByID ...

func (*Repository) Migrate

func (p *Repository) Migrate(schema string) error

Migrate ...

func (*Repository) Save

func (p *Repository) Save(bankAccount *model.BankAccount, schema string) (*model.BankAccount, error)

Save ...

Jump to

Keyboard shortcuts

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