dataset

package
v0.0.0-...-7fd5faa Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dataset map[string]interface{} = map[string]interface{}{
	"title":              "Test Title",
	"description":        "Test Description",
	"source":             "testsource",
	"frequency":          "testfreq",
	"temporal_coverage":  "Test coverage",
	"granularity":        "test",
	"contact_name":       "Test Name",
	"contact_email":      "test@mail.com",
	"license":            "TestLicense",
	"data_standard":      "Test Datastd",
	"sample_url":         "testurl.com",
	"related_articles":   nilJsonb(),
	"time_saved":         10,
	"price":              100,
	"currency_id":        1,
	"featured_medium_id": 1,
	"tag_ids":            []uint{1},
}
View Source
var DatasetCols []string = []string{"id", "created_at", "updated_at", "deleted_at", "created_by_id", "updated_by_id", "title", "description", "source", "frequency", "temporal_coverage", "granularity", "contact_name", "contact_email", "license", "data_standard", "sample_url", "related_articles", "time_saved", "price", "currency_id", "featured_medium_id"}
View Source
var DatasetReceive map[string]interface{} = map[string]interface{}{
	"title":              "Test Title",
	"description":        "Test Description",
	"source":             "testsource",
	"frequency":          "testfreq",
	"temporal_coverage":  "Test coverage",
	"granularity":        "test",
	"contact_name":       "Test Name",
	"contact_email":      "test@mail.com",
	"license":            "TestLicense",
	"data_standard":      "Test Datastd",
	"sample_url":         "testurl.com",
	"related_articles":   nil,
	"time_saved":         10,
	"price":              100,
	"currency_id":        1,
	"featured_medium_id": 1,
}

Functions

func DatasetSelectMock

func DatasetSelectMock(mock sqlmock.Sqlmock, args ...driver.Value)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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