Documentation
¶
Index ¶
- type Repository
- func (p *Repository) All(schema string) ([]model.BankAccount, error)
- func (p *Repository) Delete(id uint, schema string) error
- func (p *Repository) FindAll(argsStr map[string]string, argsInt map[string]int, schema string) ([]model.BankAccount, error)
- func (p *Repository) FindByID(id uint, schema string) (*model.BankAccount, error)
- func (p *Repository) Migrate(schema string) error
- func (p *Repository) Save(bankAccount *model.BankAccount, schema string) (*model.BankAccount, error)
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 (*Repository) All ¶
func (p *Repository) All(schema string) ([]model.BankAccount, error)
All ...
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) Save ¶
func (p *Repository) Save(bankAccount *model.BankAccount, schema string) (*model.BankAccount, error)
Save ...
Click to show internal directories.
Click to hide internal directories.