Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2026 Changes in this version + const BirthDate + const BirthPlace + const FirstName + const Gender + const LastName + const ReloadTick + var Skill string + func FakeCodiceFiscale(f *factory.Faker) string + func FakeCodiceFiscaleOn(f *factory.Faker, reference date.Date) string + type Config struct + DatasetPath string + Locale Locale + MaxAge int + Messages map[MessageKey]string + ReloadInterval time.Duration + RetryDelay time.Duration + Sources Sources + type InstallSkill struct + func (*InstallSkill) Description() string + func (*InstallSkill) Name() string + func (c *InstallSkill) Flags(flags *flag.FlagSet) + func (c *InstallSkill) Run(ctx context.Context, con *console.Console) error + type Locale string + const English + const Italian + type MatchRule struct + func Matches(field codicefiscale.PersonField, sibling string) MatchRule + func (r MatchRule) Locale(locale Locale) MatchRule + func (r MatchRule) Validate(ctx context.Context, field validation.Field) error + type MessageKey string + const MessageBirthPlaceNotAttributable + const MessageInvalidChecksum + const MessageInvalidDate + const MessageInvalidFormat + const MessageMismatch + const MessageUnknownBirthPlace + func MessageKeys() []MessageKey + func (k MessageKey) Template(locale Locale) string + type Option func(cfg *Config) + func WithMessage(key MessageKey, template string) Option + func WithMessages(messages map[MessageKey]string) Option + type Package struct + func From(ctx context.Context) *Package + func New(opts ...Option) *Package + func (p *Package) Config() Config + func (p *Package) Register(app *laravel.Registrar) error + func (p *Package) Repository() codicefiscale.BirthPlaceRepository + type Rule struct + func CodiceFiscale() Rule + func (r Rule) Locale(locale Locale) Rule + func (r Rule) Validate(ctx context.Context, field validation.Field) error + type Sources struct + Countries string + HistoricalCountries string + Municipalities string + SuppressedMunicipalities string + type UpdatePlaces struct + func (*UpdatePlaces) Description() string + func (*UpdatePlaces) Name() string + func (*UpdatePlaces) Run(ctx context.Context, c *console.Console) error