time

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeCounter

type TimeCounter struct {
	// contains filtered or unexported fields
}

func New

func New(effect bool) *TimeCounter

func (*TimeCounter) Reset

func (t *TimeCounter) Reset()

func (*TimeCounter) String

func (t *TimeCounter) String() string

func (*TimeCounter) Summary

func (t *TimeCounter) Summary(f func(idx int, msg string, cost time.Duration, at time.Time))

func (*TimeCounter) Tick

func (t *TimeCounter) Tick(msg string)

Jump to

Keyboard shortcuts

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