db

package
v0.0.0-...-bf028c8 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ConnectDb

func ConnectDb() error

func InitBankDb

func InitBankDb()

func InitDb

func InitDb()

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)

Jump to

Keyboard shortcuts

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