Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
Info contains info extracted from a taxId the field Sex is "M" for male or "F" for female the field BirthDate is a slice of strings with the possible birth dates the field BirthPlace is the birth place in italian "Codice Catastale" format
func ExtractInfo ¶
ExtractInfo extracts info from a taxId taxId must be 16 characters long the first 6 characters must be letters the 7th and 8th characters must be numbers the 9th character must be a letter the 10th and 11th characters must be numbers the 12th be a letters the 13th, 14th and 15th characters must be numbers the 16th character must be a letter returns an Info struct with the extracted info or an error
Click to show internal directories.
Click to hide internal directories.