Simple go package which converts roman strings to integer
import (
"fmt"
"github.com/caio-ribeiro-pereira/romanparse"
)
func main() {
number, err := romanparse.ToInteger("XVI")
if err == nil {
fmt.Print(number) // 16
}
}
go get -u github.com/caio-ribeiro-pereira/romanparse