Kevin Franklin Kim 63f88d23c2
Some checks failed
Test Branch / test (push) Has been cancelled
chore: update config
2026-02-18 06:27:08 +01:00
2026-02-13 11:15:11 +01:00
2026-02-18 06:27:08 +01:00
2026-02-13 06:45:50 +01:00
2026-02-13 11:15:11 +01:00
2026-02-13 15:43:40 +01:00
2026-02-13 11:15:11 +01:00
2026-02-13 11:15:11 +01:00
2026-02-13 15:31:33 +01:00
2024-05-12 12:07:19 +02:00
2026-02-13 12:50:23 +01:00
2026-02-13 15:31:33 +01:00
2026-02-13 06:45:50 +01:00
2026-02-13 06:45:50 +01:00
2026-02-13 12:50:23 +01:00
2026-02-13 12:50:23 +01:00
2026-02-13 11:15:11 +01:00
2026-02-13 11:15:11 +01:00
2026-02-13 06:45:50 +01:00
2026-02-13 15:22:46 +01:00
2026-02-13 11:15:11 +01:00

Build Status Go Report Card GoDoc

gostandards

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.

Contributors

License

Distributed under MIT License, please read the license file for more details.

Made with ♥ foomo by bestbytes

Description
No description provided
Readme MIT 472 KiB
Languages
Go 95.1%
Makefile 4.9%