model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Post

type Post struct {
	ID             uint64 `db:"id"                yaml:"id"`
	Title          string `db:"title"             yaml:"title"`
	Author         string `db:"author"            yaml:"author"`
	Link           string `db:"link"              yaml:"link"`
	Subreddit      string `db:"subreddit"         yaml:"subreddit"`
	Content        string `db:"content"           yaml:"content"`
	Score          uint64 `db:"score"             yaml:"score"`
	Promoted       bool   `db:"promoted"          yaml:"promoted"`
	NotSafeForWork bool   `db:"not_safe_for_work" yaml:"notSafeForWork"`
}

Jump to

Keyboard shortcuts

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