Versions in this module Expand all Collapse all v2 v2.1.0 Nov 30, 2023 Changes in this version + const Endpoint + const NumFields + const TimeLayout + var ErrInvalidUID = errors.New("tlhist: invalid uid") + var ErrNotFound = errors.New("tlhist: not found") + func RawData(ctx context.Context, uid string) (r io.ReadCloser, err error) + type Reader struct + func NewReader(r io.Reader) Reader + func (r Reader) All(skipHeader bool) ([]Record, error) + func (r Reader) Next() (*Record, error) + func (r Reader) NextRaw() ([]string, error) + type Record struct + APM float64 + CreatedAt time.Time + GamesPlayed int + GamesWon int + Glicko float64 + PPS float64 + Rank string + Rating float64 + UserID string + VS float64 + func AllRecords(ctx context.Context, uid string) ([]Record, error) + func (r *Record) Slice() []string + func (r *Record) Unslice(fields []string) (err error)