Documentation ¶ Index ¶ func Track(from time.Time, log logutils.Log, format string, args ...interface{}) type Stopwatch func NewStopwatch(name string, log logutils.Log) *Stopwatch func (s *Stopwatch) Print() func (s *Stopwatch) PrintStages() func (s *Stopwatch) TrackStage(name string, f func()) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Track ¶ added in v1.6.1 func Track(from time.Time, log logutils.Log, format string, args ...interface{}) Types ¶ type Stopwatch ¶ type Stopwatch struct { sync.Mutex // contains filtered or unexported fields } func NewStopwatch ¶ func NewStopwatch(name string, log logutils.Log) *Stopwatch func (*Stopwatch) Print ¶ func (s *Stopwatch) Print() func (*Stopwatch) PrintStages ¶ func (s *Stopwatch) PrintStages() func (*Stopwatch) TrackStage ¶ func (s *Stopwatch) TrackStage(name string, f func()) Source Files ¶ View all Source files stopwatch.go track.go Click to show internal directories. Click to hide internal directories.