storage

package
v0.0.0-...-e3dabad Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() (*sql.DB, error)

func InsertPlayerTime

func InsertPlayerTime(db *sql.DB, playerTime time.Time) (string, error)

func SelectPlayerTimeRank

func SelectPlayerTimeRank(db *sql.DB, player string) (time.Time, uint, error)

Types

type PlayerTime

type PlayerTime struct {
	Player string
	Time   time.Time
}

func SelectPlayerTimes

func SelectPlayerTimes(db *sql.DB) ([]PlayerTime, error)

Jump to

Keyboard shortcuts

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