instafile

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TableName = "instafile"

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(dbconn *sqlite3.SQLite) error

Types

type InstaFile

type InstaFile struct {
	UserID   string
	UserName string
	Added    time.Time
	FileID   string
	URL      string
}

func (*InstaFile) Exists

func (inf *InstaFile) Exists(dbconn *sqlite3.SQLite) (bool, error)

func (*InstaFile) Load

func (inf *InstaFile) Load(id string, dbconn *sqlite3.SQLite) (bool, error)

func (*InstaFile) Save

func (inf *InstaFile) Save(tx *sql.Tx) error

Jump to

Keyboard shortcuts

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