4 Code: VAT number validation & country specific rates retrieval.

github.com godoc.org goreportcard.com posted by dvk 2202 days ago  

Hey everyone,I've been playing with Golang since last week and started rebuilding one of our PHP API's in Golang, just for fun. I needed a package for dealing with VAT so decided to port our PHP library to Go as well.Would love to hear your thoughts on it and specifically how you would improve it. How is my function naming (is the Get prefix on my functions a PHP thing)? Is it wise to keep the fetched rates in memory like I am doing now or should I cache by writing to disk instead? I would really appreciate any insights you can spare.Thank you for your time!

Register to comment or vote on this story