Skip to content

personnummer/go

master
Switch branches/tags
Code
This branch is 88 commits ahead, 1 commit behind frozzare:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

personnummer GitHub Workflow Status GoDoc Go Report Card

Validate Swedish personal identity numbers.

Installation

go get -u github.com/personnummer/go/v3

Example

package main

import (
	personnummer "github.com/personnummer/go/v3"
)

func main() {
	personnummer.Valid("198507099805")
	//=> true
}

License

MIT