bq

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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) Insert

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

func (*Mock) Migrate

func (x *Mock) Migrate(ctx context.Context, tableName string, schema any) error

Jump to

Keyboard shortcuts

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