rating

package
v0.0.0-...-be294a2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Data = map[string]interface{}{
	"name": "True",
	"slug": "true",
	"background_colour": postgres.Jsonb{
		RawMessage: []byte(`"green"`),
	},
	"text_colour": postgres.Jsonb{
		RawMessage: []byte(`"green"`),
	},
	"description": postgres.Jsonb{
		RawMessage: []byte(`{"time":1617039625490,"blocks":[{"type":"paragraph","data":{"text":"Test Description"}}],"version":"2.19.0"}`),
	},
	"html_description": "<p>Test Description</p>",
	"numeric_value":    5,
	"medium_id":        uint(1),
}

Functions

func EmptyRowMock

func EmptyRowMock(mock sqlmock.Sqlmock)

func SelectWithOutSpace

func SelectWithOutSpace(mock sqlmock.Sqlmock, rating map[string]interface{})

func SelectWithSpace

func SelectWithSpace(mock sqlmock.Sqlmock)

Types

This section is empty.

Jump to

Keyboard shortcuts

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