INNER CODE UNIT · Go
func
asciimoo/wuzz · status-line.go:19
func (_ *StatusLineFunctions) Version() string {
return VERSION
}
func (s *StatusLineFunctions) Duration() string {
if len(s.app.history) == 0 {
return ""
}
return s.app.history[s.app.historyIndex].Duration.String()
}
func (s *StatusLineFunctions) HistorySize() string {
return strconv.Itoa(len(s.app.history))
}
func (s *StatusLineFunctions) RequestNumber() string {
i := s.app.historyIndex
if len(s.app.history) > 0 {