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"`
}
Click to show internal directories.
Click to hide internal directories.