gogoo encapsulates google cloud api for more specific operation logic. Below are the including components
- compute engine - v1
- datastore
- cloud monitoring - v2beta2
- cloudsql - v1beta4
- replicapoolupdater -v1beta1
- pubsub - v1
- storage - v1
go get github.com/browny/gogoo
- Clone this project to your
$GOPATH/src
cd $GOPATH/src
git clone [email protected]:browny/gogoo.git github.com/browny/gogoo
- You should setup one google cloud project, and create a service account
- Enable the relating API you want to test
- Create a
./gogoo/config/config.json
file to containes below information
{
"service_account": "[email protected]",
"project_id": "your_project_name"
}
- Put the key of service account in
./gogoo/config/key.pem
- Converting the service account credential to other formats (
.p12
to.pem
)
gogoo is MIT License.