report

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ago

func Ago(t, now time.Time) string

func Dollars

func Dollars(c float64) string

func Estimate

func Estimate(asOf string) string

func LimitLines

func LimitLines(ws []usage.Window, now time.Time) []string

func LimitsNote

func LimitsNote(l usage.Limits, now time.Time) string

func LimitsShort

func LimitsShort(ws []usage.Window, now time.Time) string

func ModelName

func ModelName(m string) string

func Outputs

func Outputs(o client.Outputs, host string, now time.Time) []string

func Pct

func Pct(p float64) string

func Plan

func Plan(l usage.Limits, days []usage.Day, now time.Time) []string

func Reset

func Reset(t, now time.Time) string

func Session

func Session(st usage.Stats) []string

func Size

func Size(n int64) string

func Span

func Span(d time.Duration) string

func Tokens

func Tokens(n int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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