Categorygithub.com/orisano/gproject
repositorypackage
0.1.0
Repository: https://github.com/orisano/gproject.git
Documentation: pkg.go.dev

# README

gproject

gproject is a library for getting to Google Cloud Platform's ProjectID.

Installation

$ go get -u github.com/orisano/gproject

How to use

package main

import (
	"fmt"

	"github.com/orisano/gproject"
)

func main() {
	fmt.Println(gproject.Default())
}

Method

https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/google/auth/_default.py#L186

Dependencies

Google Cloud SDK (optional)

Author

Nao Yonashiro (@orisano)

License

MIT