top100

package
v0.0.0-...-d2cb140 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Persist

func Persist(db *sqlx.DB, criterion string, data []*Top100) error

Types

type Top100

type Top100 struct {
	ID          int    `csv:"-" db:"id"`
	Rank        int    `csv:"rank" db:"rank"`
	Day         string `csv:"date" db:"day"`
	DataSource  string `csv:"-" db:"data_source_name"`
	Name        string `csv:"name"`
	Slug        string `csv:"slug" db:"slug"`
	IsVerified  bool   `csv:"is_verified"`
	CreatedDate string `csv:"created_date"`
}

func Process

func Process(ds, criterion, fpath string) ([]*Top100, error)

Jump to

Keyboard shortcuts

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