product

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Product map[string]interface{} = map[string]interface{}{
	"title":              "Test Product",
	"slug":               "test-product",
	"price":              100,
	"status":             "teststatus",
	"currency_id":        1,
	"featured_medium_id": 1,
	"dataset_ids":        []uint{1},
	"tag_ids":            []uint{1},
}
View Source
var ProductCols []string = []string{"id", "created_at", "updated_at", "deleted_at", "created_by_id", "updated_by_id", "title", "slug", "price", "status", "currency_id", "featured_medium_id"}
View Source
var ProductReceive map[string]interface{} = map[string]interface{}{
	"title":              "Test Product",
	"slug":               "test-product",
	"price":              100,
	"status":             "teststatus",
	"currency_id":        1,
	"featured_medium_id": 1,
}

Functions

func EmptyProductAssociationsMock

func EmptyProductAssociationsMock(mock sqlmock.Sqlmock)

func ProductSelectMock

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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