rssitem

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 3 Imported by: 6

Documentation

Overview

Package rssitem provides functionality to act with rsserver's item Table.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(items *sql.Rows, ret *[]*Schema) (err error)

Fetch fetch the rssitem channel rows from database and store it in item array ret.

Types

type Schema

type Schema struct {
	gofeed.Item
}

Schema shows the rssitem table schema that is really used.

type Table

type Table struct {
	Connection *sql.DB
}

Table contains the db connection to rssitem Table.

func (*Table) Select added in v1.3.1

func (table *Table) Select(items *[]*Schema) (err error)

Select fetch the information of items in the database and store it in items array. You can see type Schema in model.go to check the features.

Jump to

Keyboard shortcuts

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