claim

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Data = map[string]interface{}{
	"claim":        "Claim",
	"slug":         "claim",
	"claim_date":   time.Now(),
	"checked_date": time.Now(),
	"claim_sources": postgres.Jsonb{
		RawMessage: []byte(`{"type":"claim sources"}`),
	},
	"description": postgres.Jsonb{
		RawMessage: []byte(`{"time":1617039625490,"blocks":[{"type":"paragraph","data":{"text":"Test Description"}}],"version":"2.19.0"}`),
	},
	"html_description": "<p>Test Description</p>",
	"claimant_id":      uint(1),
	"rating_id":        uint(1),
	"fact":             "test fact",
	"review_sources": postgres.Jsonb{
		RawMessage: []byte(`{"type":"review sources"}`),
	},
}

Functions

func SelectWithOutSpace

func SelectWithOutSpace(mock sqlmock.Sqlmock, claim 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