models

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	ID            int64     `db:"feed_id"`
	Url           string    `db:"feed_url"`
	Title         string    `db:"feed_title"`
	LastModified  time.Time `db:"feed_last_modified"`
	ETag          string    `db:"feed_etag"`
	LastPostTitle string    `db:"feed_last_post_title"`
	LastPostLink  string    `db:"feed_last_post_link"`
	LastPostDate  time.Time `db:"feed_last_post_date"`
	LastPostPhoto string    `db:"feed_last_post_photo"`
}

Model for the feeds table

type Subscription

type Subscription struct {
	ID     int64 `db:"subscription_id"`
	FeedID int64 `db:"feed_id"`
	ChatID int64 `db:"chat_id"`
}

Model for the subscriptions table

Jump to

Keyboard shortcuts

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