repo

package
v0.0.0-...-e666526 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func New

func New() (*Repo, error)

func (*Repo) CreateVoteRows

func (r *Repo) CreateVoteRows(rows []models.VoteRow) error

func (*Repo) GetRecent5Votes

func (r *Repo) GetRecent5Votes() ([]models.VoteRow, error)

func (*Repo) GetTotalVotes

func (r *Repo) GetTotalVotes() ([]models.VoteTotalResult, error)

Jump to

Keyboard shortcuts

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