episode

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Columns = []string{"id", "created_at", "updated_at", "deleted_at", "created_by_id", "updated_by_id", "title", "slug", "season", "episode", "audio_url", "podcast_id", "description", "html_description", "published_date", "medium_id", "space_id"}
View Source
var Data = map[string]interface{}{
	"title": "Test Episode",
	"slug":  "test-episode",
	"description": postgres.Jsonb{
		RawMessage: []byte(`{"time":1617039625490,"blocks":[{"type":"paragraph","data":{"text":"Test Description"}}],"version":"2.19.0"}`),
	},
	"html_description": "<p>Test Description</p>",
	"season":           1,
	"episode":          1,
	"audio_url":        "testaudio.com",
	"published_date":   time.Now(),
	"medium_id":        1,
	"podcast_id":       1,
	"author_ids":       []uint{1},
}

Functions

func CountQuery

func CountQuery(mock sqlmock.Sqlmock, count int)

func EpisodeAuthorSelect

func EpisodeAuthorSelect(mock sqlmock.Sqlmock)

func SelectQuery

func SelectQuery(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