timer

package
v1.0.0-costsupdate.4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package timer used to timing events

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ts

type Ts struct {
	S time.Time `json:"start"`
	E time.Time `json:"end"`
}

Ts is for timers in test / benchmarks

func New

func New() *Ts

func (*Ts) Seconds

func (t *Ts) Seconds() string

func (*Ts) Stop

func (t *Ts) Stop() *Ts

Jump to

Keyboard shortcuts

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