Versions in this module Expand all Collapse all v0 v0.2.2 Nov 22, 2026 v0.2.1 Nov 18, 2026 Changes in this version + const IdentifierRoot + var ErrIdentifierChecksum = errors.New("电子证照标识校验位不匹配") + var ErrIdentifierFormat = errors.New("电子证照标识格式无效") + type Identifier struct + CheckCharacter string + IssuingAuthorityCode string + Serial string + TypeCode string + Version string + func ParseIdentifier(value string) (Identifier, error) + type Issue struct + Clause string + Code string + Field string + Index int + Message string + Warning bool + type Metadata struct + func ParseMetadata(entries []spec.CustomData) Metadata + func (m Metadata) Entries() []spec.CustomData + func (m Metadata) Validate() []Issue + func (m Metadata) Values(name string) []string