personalausweis

package module
v0.0.0-...-f55b13f Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: MIT Imports: 4 Imported by: 0

README

go-personalausweis

Library for validating and parsing German id cards (Personalausweise).

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Personalausweis

type Personalausweis struct {
	Id          string
	BirthDate   time.Time
	ExpiryDate  time.Time
	Nationality string
	Valid       bool
}

func ParseFromLines

func ParseFromLines(lines [3]string) (Personalausweis, error)

func ParseFromValues

func ParseFromValues(id, birthDateRevCheck, expiryDateRevCheck, nationality string, checksum int) (Personalausweis, error)

Jump to

Keyboard shortcuts

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