https://github.com/orisano/gproject
https://github.com/orisano/gproject
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/orisano/gproject
- Owner: orisano
- License: mit
- Created: 2018-03-08T04:25:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-09T08:02:59.000Z (over 1 year ago)
- Last Synced: 2025-03-07T03:13:31.739Z (over 1 year ago)
- Language: Go
- Size: 125 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gproject
gproject is a library for getting to Google Cloud Platform's ProjectID.
## Installation
```bash
$ go get -u github.com/orisano/gproject
```
## How to use
```go
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