wrapped

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrappedGenerator

type WrappedGenerator struct{}

func NewWrappedGenerator

func NewWrappedGenerator() *WrappedGenerator

func (*WrappedGenerator) Generate

func (g *WrappedGenerator) Generate(stats *WrappedStats) string

func (*WrappedGenerator) GenerateSVG

func (g *WrappedGenerator) GenerateSVG(stats *WrappedStats) string

type WrappedStats

type WrappedStats struct {
	TotalTokens       int     `json:"total_tokens"`
	TotalSaved        int     `json:"total_saved"`
	SavingsPercentage float64 `json:"savings_percentage"`
	TopModel          string  `json:"top_model"`
	TopCommand        string  `json:"top_command"`
	TotalCommands     int     `json:"total_commands"`
	TotalSessions     int     `json:"total_sessions"`
	AvgCompression    float64 `json:"avg_compression"`
	BestDay           string  `json:"best_day"`
	BestDaySavings    int     `json:"best_day_savings"`
}

Jump to

Keyboard shortcuts

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