leaderboards

package
v0.0.0-...-ffb9b1a Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColumnNum    = "#"
	ColumnName   = "name"
	ColumnBloods = "bloods"
	ColumnPoints = "points"
	ColumnUserID = "ID"
)

Make a table for ranks

Variables

View Source
var Selected_item int

Functions

func NewModel

func NewModel(rankItems []TableDataRow) model

func Rankings

func Rankings(HTBClient *HTB.Client) int

func RunRankTable

func RunRankTable(rankData []TableDataRow) (err error)

Types

type TableDataRow

type TableDataRow struct {
	Name   string
	Num    string
	Bloods string
	Points string
	ID     int
}

Jump to

Keyboard shortcuts

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