model

package
v0.0.0-...-d0177a8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 2 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             *string    `db:"id"`
	Title          *string    `db:"title"`
	Body           *string    `db:"body"`
	Summary        *string    `db:"summary"`
	Upvotes        *string    `db:"upvotes"`
	CommentAmmount *string    `db:"comment_ammount"`
	Subreddit      *string    `db:"subreddit"`
	TimeStamp      *string    `db:"timestamp"`
	CreatedAt      *time.Time `db:"created_at"`
	CreatedBy      *string    `db:"user"`
}

func (*Post) String

func (p *Post) String() string

Jump to

Keyboard shortcuts

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