db

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinList

type BinList interface {
	GetBinData(bin int64) (BinListData, error)
	ChangeFilePAth(path string) error
	// contains filtered or unexported methods
}

func NewBinList

func NewBinList() (BinList, error)

type BinListData

type BinListData struct {
	Bin       int64  `csv:"bin,required"`
	Brand     string `csv:"brand,omitempty"`
	Type      string `csv:"type,omitempty"`
	Category  string `csv:"category,omitempty"`
	Issuer    string `csv:"issuer,omitempty"`
	Alpha2    string `csv:"alpha_2,omitempty"`
	Alpha3    string `csv:"alpha_3,omitempty"`
	Country   string `csv:"country,omitempty"`
	Latitude  string `csv:"latitude,omitempty"`
	Longitude string `csv:"longitude,omitempty"`
	BankPhone string `csv:"bank_phone,omitempty"`
	BankUrl   string `csv:"bank_url,omitempty"`
}

Jump to

Keyboard shortcuts

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