core

package
v0.0.0-...-ef0162a Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoTypeFromBQType

func GoTypeFromBQType(s bigquery.FieldType) string

func TypeString

func TypeString(s bigquery.FieldType) string

TODO ignore case

Types

type DatasetInput

type DatasetInput struct {
	ID        string
	ProjectID string
	Tables    []*TableInput
}

TODO add validate

func (*DatasetInput) SetDatasetIDToTable

func (d *DatasetInput) SetDatasetIDToTable()

type FieldInput

type FieldInput struct {
	Name                   string
	Description            string
	Repeated               bool
	Required               bool
	Type                   bigquery.FieldType
	PolicyTags             []string
	RecordedTableName      string
	MaxLength              int64
	Precision              int64
	Scale                  int64
	DefaultValueExpression string
}

TODO add validate

type TableInput

type TableInput struct {
	ID        string
	DatasetID string
	ProjectID string
	Fields    []*FieldInput
}

TODO add validate

Jump to

Keyboard shortcuts

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