bank

package
v0.0.0-...-bf77178 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBankCRUD

func NewBankCRUD(db *gorm.DB) service

Types

type Contract

type Contract interface {
	FindAll() (*[]entities.Bank, error)
	FindByID(bankID *string) (*entities.Bank, error)
	Insert(bank *entities.Bank) error
	Update(bank *entities.Bank) error
	Delete(bankID *string) error
}

Jump to

Keyboard shortcuts

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