gproject

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2021 License: MIT Imports: 7 Imported by: 1

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() string

func FromCommand

func FromCommand() string

func FromEnv

func FromEnv() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL