Collection of standards as types
- ISO 3166-1 - Country codes (Alpha-2 & Alpha-3)
- ISO 4217 - Currency codes
- HTTP headers, content encodings & authorization prefixes
import (
"github.com/foomo/gostandards/iso3166"
"github.com/foomo/gostandards/iso4217"
gohttp "github.com/foomo/gostandards/http"
)
// ISO 3166-1 country codes
country := iso3166.Alpha2US // "US"
alpha3 := iso3166.Alpha3USA // "USA"
// ISO 4217 currency codes
currency := iso4217.CodeUSD // "USD"
// HTTP constants
header := gohttp.HeaderContentType // "Content-Type"Contributions are welcome! Please read the contributing guide.
Distributed under MIT License, please read the license file for more details.
