Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *database.Queries
Functions ¶
func InitBankDb ¶
func InitBankDb()
Types ¶
type CreateBankParams ¶
type CreateBankParams struct {
Name string `json:"name"`
ContactPhone string `json:"contact_phone"`
ContactEmail string `json:"contact_email"`
Address string `json:"address"`
Type database.BankType `json:"type"`
EstablishedYear int32 `json:"established_year"`
}
func ParseBanksJSON ¶
func ParseBanksJSON(filename string) ([]CreateBankParams, error)
Click to show internal directories.
Click to hide internal directories.