uploader

package
v0.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(project string, dataset, table Entity, getSchema SchemaGenerator) *Client

func (*Client) String

func (c *Client) String() string

func (*Client) Upload

func (c *Client) Upload(ctx context.Context, data interface{}) error

type Entity

type Entity struct {
	ID          string
	Description string
}

type SchemaGenerator

type SchemaGenerator func() (bigquery.Schema, error)

Jump to

Keyboard shortcuts

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