An open API service indexing awesome lists of open source software.

https://github.com/kare/viite

Go implementation of Finnish viitenumero
https://github.com/kare/viite

finnish golang reference-number viitenumero

Last synced: 6 months ago
JSON representation

Go implementation of Finnish viitenumero

Awesome Lists containing this project

README

          

# kkn.fi/viite

[![Go Reference](https://pkg.go.dev/badge/kkn.fi/viite.svg)](https://pkg.go.dev/kkn.fi/viite)
[![Go Report Card](https://goreportcard.com/badge/kkn.fi/viite)](https://goreportcard.com/report/kkn.fi/viite)

## Features
- Generate reference number with checksum based on given input
- Generate random checksummed reference numbers longer than 15 number characters
- Format reference number in 5 number groups separated by space
- Validate reference number

## Installation
```
go get -u kkn.fi/viite
```

## Examples
See [GoDoc](https://pkg.go.dev/kkn.fi/viite) for examples.

## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

See [LICENSE](LICENSE) for details.