Validate Swedish personal identity numbers.
go get -u github.com/personnummer/go/v3
package main
import (
personnummer "github.com/personnummer/go/v3"
)
func main() {
personnummer.Valid("198507099805")
//=> true
}Fredrik "Frozzare" Forsmo (1991-2026) was the initiator, co-founder and a core contributor of the personnummer project. This library carries his work. He is missed.
MIT