timer

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

type Timer struct {
	Started time.Time
	// contains filtered or unexported fields
}

func Start

func Start() *Timer

func (*Timer) Duration

func (t *Timer) Duration() float64

func (*Timer) DurationInt

func (t *Timer) DurationInt() int64

func (*Timer) Stop

func (t *Timer) Stop() float64

func (*Timer) String

func (t *Timer) String() string

Jump to

Keyboard shortcuts

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