parsepnr

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

parsepnr parses identity numbers.

It iterates over its argument and tries to parse them one at a time: for each argument it either succeeds and prints the normalized identity number, or it fails and prints the reason why.

Example:

 $ go run ./cmd/parsepnr -refDate 2026-07-16 880101-8080 880101-8089 19880101-8089
⛔️ 880101-8080: Bad checksum 0, expected 9
✅ 880101-8089: 19880101-8089
✅ 19880101-8089

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL