Closed saul-data closed 3 years ago
Actually this seems to work: https://goplay.space/#yUbb4w7xGVD
package main
import (
"fmt"
"github.com/biter777/countries"
)
func main() {
country := countries.ByName("GB")
currency := country.Currency()
fmt.Println(country, currency)
}
Any way to look up a country based on a known alpha3 country code?