hoidy

package module
v0.0.0-...-68c41a5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 3 Imported by: 0

README

hoidy

Japanese Hojin ID made simple

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Corporation

type Corporation struct {
	SequenceNumber  string `xml:"sequenceNumber"`
	CorporateNumber string `xml:"corporateNumber"`
	Process         string `xml:"process"`
	// UpdateDate      time.Time `xml:"updateDate"`
	UpdateDate string `xml:"updateDate"`
	// ChangeDate      time.Time `xml:"changeDate"`
	ChangeDate     string `xml:"changeDate"`
	Name           string `xml:"name"`
	PrefectureName string `xml:"prefectureName"`
	CityName       string `xml:"cityName"`
	StreetNumber   string `xml:"streetNumber"`
	Furigana       string `xml:"furigana"`
}

Corporation company info https://www.houjin-bangou.nta.go.jp/download/

type Corporations

type Corporations struct {
	XMLName      xml.Name      `xml:"corporations"`
	Corporations []Corporation `xml:"corporation"`
}

func ParseXML

func ParseXML(pt string) (*Corporations, error)

ParseXML houjin ID XML parser

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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