timer

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

type Timer struct {
	Start, End time.Time
}

func NewTimer

func NewTimer() Timer

func (Timer) Elapsed

func (t Timer) Elapsed() float64

func (Timer) Millis

func (t Timer) Millis() int64

func (*Timer) Stop

func (t *Timer) Stop()

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