MCPcopy
hub / github.com/charmbracelet/bubbletea / String

Method String

examples/send-msg/main.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (r resultMsg) String() string {
32 if r.duration == 0 {
33 return dotStyle.Render(strings.Repeat(".", 30))
34 }
35 return fmt.Sprintf("🍔 Ate %s %s", r.food,
36 durationStyle.Render(r.duration.String()))
37}
38
39type model struct {
40 spinner spinner.Model

Callers 15

mainFunction · 0.45
updateStylesMethod · 0.45
UpdateMethod · 0.45
ViewMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
ViewMethod · 0.45
UpdateMethod · 0.45
mainFunction · 0.45

Calls 1

RenderMethod · 0.80

Tested by

no test coverage detected