giro

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: Apache-2.0 Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultPattern = `` /* 130-byte string literal not displayed */
View Source
const DefaultURL = "https://www.giro.hu/dokumentumok"
View Source
const DefaultXLSXURL = "https://www.mnb.hu/letoltes/sht.xlsx"

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func DownloadFile

func DownloadFile(ctx context.Context, dlURL string) (string, io.ReadCloser, error)

func SearchXLSURL

func SearchXLSURL(ctx context.Context, searchURL, pattern string) (string, error)

Types

type Hitelezo

type Hitelezo struct {
	Bankszerv, BIC, Nev, Irszam, Cim string
}

10002003 Magyar Államkincstár. értékp.-pénztár 1139 Budapest, Váci út 71.

func Parse

func Parse(ctx context.Context, r io.Reader) ([]Hitelezo, error)

Parse the reader.

Pass nil as reader to get the default XLSX.

func ParsePDF

func ParsePDF(ctx context.Context, r io.Reader) ([]Hitelezo, error)

func ParseXLS

func ParseXLS(ctx context.Context, r io.ReadSeeker) ([]Hitelezo, error)

func ParseXLSX

func ParseXLSX(ctx context.Context, r io.Reader) ([]Hitelezo, error)

func (Hitelezo) String

func (h Hitelezo) String() string

Jump to

Keyboard shortcuts

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