util

package
v0.0.0-...-10a8ea6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invariant

func Invariant(i interface{}, extras ...interface{})

Types

type PerfTimer

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

func NewPerfTimer

func NewPerfTimer() *PerfTimer

func (*PerfTimer) GetSplit

func (pt *PerfTimer) GetSplit() (total, split time.Duration)

func (*PerfTimer) LogSplit

func (pt *PerfTimer) LogSplit(eventName string)

Jump to

Keyboard shortcuts

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