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

Latest commit

 

History

History
27 lines (18 loc) · 364 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 364 Bytes

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