From 2e32344315a34b6e61623d5f6fc94744507cb5a2 Mon Sep 17 00:00:00 2001 From: Nozomu Ohki <38576286+ohkinozomu@users.noreply.github.com> Date: Sat, 26 Feb 2022 06:41:13 +0900 Subject: [PATCH] Update example (#7) --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b8ffe7..65d40e1 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,16 @@ This project is not officially supported or endorsed by Google in any way. # Example ```go -// true -fmt.Println(regions.IsValid("us-central1")) +import( + "fmt" + + regions "github.com/ohkinozomu/gcp-regions" +) + +func main() { + // true + fmt.Println(regions.IsValid("us-central1")) +} ``` # License