bigquery

package module
v0.0.0-...-a8017d9 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 4 Imported by: 0

README

go-bigquery

A set of helper functions to communicate with Google Bigquery.
This is not an SDK, it's just a few wrapper functions.

Disclaimer

This repository is neither guaranteed to be stable nor safe.
Feel free to copy & fork, but do not rely on it for production.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Authfile string

Functions

func Init

func Init(project string) (err error)

func Insert

func Insert(rows Rows, dataset string, table string) error

func Query

func Query(query string, params *[]bigquery.QueryParameter) (*bigquery.RowIterator, error)

Types

type Row

type Row struct {
	Gid       string         `bigquery:"gid"`
	CreatedAt civil.DateTime `bigquery:"created_at"`
}

type Rows

type Rows []Row

Jump to

Keyboard shortcuts

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