Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegexpDict = map[string]*regexp.Regexp{ "siret": regexp.MustCompile("^[0-9]{14}$"), "siren": regexp.MustCompile("^[0-9]{9}$"), "notDigit": regexp.MustCompile("[^0-9]"), }
RegexpDict fournit des expressions régulières communes.
Functions ¶
func ValidSiren ¶
ValidSiren retourne `true` si le numéro SIREN est valide.
func ValidSiret ¶
ValidSiret retourne `true` si le numéro SIRET est valide.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.