Documentation ¶
Index ¶
- Variables
- type Lottery
- type Sqlite3
- func (s *Sqlite3) AddHistory(value Lottery) error
- func (s *Sqlite3) BatchAddHistory(list []Lottery) error
- func (s *Sqlite3) Close()
- func (s *Sqlite3) GetAllHistory(query map[string]string, limit int) ([]Lottery, error)
- func (s *Sqlite3) GetBlueList(where string, limit int) ([]int, error)
- func (s *Sqlite3) GetRedList(where string, limit int) ([][]int, error)
- func (s *Sqlite3) RemoveAllHistory() error
Constants ¶
This section is empty.
Variables ¶
View Source
var DBPATH string = "../data/db"
Functions ¶
This section is empty.
Types ¶
type Sqlite3 ¶
func NewSqlite3 ¶
func (*Sqlite3) AddHistory ¶
func (*Sqlite3) BatchAddHistory ¶
func (*Sqlite3) GetAllHistory ¶
func (*Sqlite3) RemoveAllHistory ¶
Click to show internal directories.
Click to hide internal directories.