timer

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 10

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