timestamp

package
v0.0.0-...-fa720cf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timestamp

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

Timestamp records timestamps

func NewTimestamp

func NewTimestamp() Timestamp

NewTimestamp creates a new Timestamp recorder

func (*Timestamp) Get

func (ts *Timestamp) Get(name string) string

Get gets the current timestamp

func (*Timestamp) Touch

func (ts *Timestamp) Touch(name string)

Touch updates an entry in the timestamp

Jump to

Keyboard shortcuts

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