bindb

package module
v0.0.0-...-36fc52c Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 7 Imported by: 0

README

bindb-go

golang library to handle https://bindb.com/ data

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadMain

func LoadMain(db *DB, dbpath string, autofix func(string) string) error

func LoadMulti

func LoadMulti(db *DB, path string, autofix func(string) string) (err error)

func Printrecord

func Printrecord(x Record)

Types

type DB

type DB struct {
	Map map[string]*Record
}

func LoadDB

func LoadDB(path string, autofix func(string) string) (*DB, error)

type Record

type Record struct {
	Brand   string
	Bank    string
	Type    string
	Level   string
	Info    string
	Country string
	WWW     string
	Phone   string
	Address string
	City    string
	Zip     string
}

func BuildRecord

func BuildRecord(fields []string) *Record

func Find

func Find(db *DB, bin string) (bindbRecord *Record, err error)

Jump to

Keyboard shortcuts

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