config

package
v0.0.0-...-e613b9d Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GCPCredentials

func GCPCredentials(ctx context.Context) (*google.Credentials, error)

func GCPProjectID

func GCPProjectID(ctx context.Context) (gcp.ProjectID, error)

func SetDefault

func SetDefault(config ...[]KV)

SetDefault sets default values to config.

Types

type KV

type KV struct {
	K string
	V interface{}
}

Jump to

Keyboard shortcuts

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