mirror of
https://github.com/foomo/gostandards.git
synced 2026-11-30 06:51:38 +00:00
dependabot/github_actions/actions/cache-5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Go Standards
Collection of standards as types
Standards
- ISO 3166-1 - Country codes (Alpha-2 & Alpha-3)
- ISO 4217 - Currency codes
- HTTP headers, content encodings & authorization prefixes
Usage
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"
How to Contribute
Contributions are welcome! Please read the contributing guide.
License
Distributed under MIT License, please read the license file for more details.
Languages
Go
95.1%
Makefile
4.9%
