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 Subreddit

type Subreddit struct {
	ID            *string    `db:"id"`
	Description   *string    `db:"description"`
	Rules         *string    `db:"rules"`
	Over18        *bool      `db:"over18"`
	Subscribers   *int       `db:"subscribers"`
	SubredditType *string    `db:"subreddit_type"`
	Title         *string    `db:"title"`
	URL           *string    `db:"url"`
	CreatedAt     *time.Time `db:"created_at"`
}

func (*Subreddit) String

func (s *Subreddit) String() string

Jump to

Keyboard shortcuts

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