Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

ohkinozomu/gcp-regions

Repository files navigation

gcp-regions

Library to validate GCP regions.

This project is not officially supported or endorsed by Google in any way.

Example

import(
	"fmt"
  
	regions "github.com/ohkinozomu/gcp-regions"
)

func main() {
	// true
	fmt.Println(regions.IsValid("us-central1"))

	// false
	fmt.Println(regions.IsValid("us-central1000"))
}

License

Apache-2.0