Back to godoc.org
github.com/araddon/qlbridge/datasource/mockcsvtestdata

package mockcsvtestdata

v0.0.0 (c94dddf)
Latest Go to latest
Published: Mar 4, 2020 | License: MIT | Module: github.com/araddon/qlbridge

Overview

Package mockcsvtestdata is csv test data only used for tests.

Index

Variables

var (
	MockSchema *schema.Schema

	// TestContext is a function to create plan.Context for a given test context.
	TestContext func(query string) *plan.Context
)

func LoadTestDataOnce

func LoadTestDataOnce()

func SchemaLoader

func SchemaLoader(name string) (*schema.Schema, error)

func SetContextToMockCsv

func SetContextToMockCsv()
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier