bq

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, projectID, datasetID string, options ...option.ClientOption) (interfaces.BigQuery, error)

Types

type Mock

type Mock struct {
	InsertedData []any
}

func NewMock

func NewMock() *Mock

func (*Mock) CreateOrUpdateSchema added in v0.0.3

func (x *Mock) CreateOrUpdateSchema(ctx context.Context, tableName string, schema bigquery.Schema) error

func (*Mock) Insert

func (x *Mock) Insert(ctx context.Context, tableName string, data any) error

Jump to

Keyboard shortcuts

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