bigquery

package
v1.0.0-beta.28 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigAdd

func ConfigAdd(path string)

func NewClient

func NewClient(ctx context.Context) (*bigquery.Client, error)

func NewClientWithConfigPath

func NewClientWithConfigPath(ctx context.Context, path string) (*bigquery.Client, error)

func NewClientWithOptions

func NewClientWithOptions(ctx context.Context, options *Options) (*bigquery.Client, error)

Types

type Options

type Options struct {
	ProjectID   string `config:"projectId"`
	Credentials struct {
		File string
		JSON []byte `config:"json"`
	}
}

func NewOptions

func NewOptions() (*Options, error)

func NewOptionsWithPath

func NewOptionsWithPath(path string) (opts *Options, err error)

Jump to

Keyboard shortcuts

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