instauser

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 = "instauser"

Variables

This section is empty.

Functions

func Exists

func Exists(userid string, dbconn *sqlite3.SQLite) (bool, error)

func LoadConfig

func LoadConfig(dbconn *sqlite3.SQLite) error

Types

type InstaUser

type InstaUser struct {
	UserID    string
	UserName  string
	AccountID string
	Tag       string
	NewTags   []string
	Following bool
	Follow    time.Time
	Unfollow  time.Time
}

func GetUsersFollowingBetween

func GetUsersFollowingBetween(fromdate, todate time.Time, dbconn *sqlite3.SQLite) ([]InstaUser, error)

func (*InstaUser) Load

func (inf *InstaUser) Load(userid string, dbconn *sqlite3.SQLite) (bool, error)

func (*InstaUser) Save

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

Jump to

Keyboard shortcuts

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