Versions in this module Expand all Collapse all v0 v0.1.0 Oct 14, 2020 Changes in this version + var ErrEmpty = errors.New("postal code cannot be empty") + var ErrInvalidCountry = errors.New("invalid country code") + var ErrInvalidFormat = errors.New("invalid postal code format") + var ErrShort = errors.New("postal code cannot be shorter than 2 characters") + func Validate(code string) error