package
0.0.0-20230808054156-8dfdb5b6e844
Repository: https://github.com/mamemomonga/notebook-go.git
Documentation: pkg.go.dev
# README
GCEインスタンス情報を得る
準備
- サービスアカウントを取得し、キーをカレントディレクトリに service-account-key.json という名前でおく
- main.go の PROJECT_ID と REGION を書き換える
実行
$ go run .
参照
# Structs
GCEInstanceList GCE Instance List 構造体.