time

package
v0.0.0-...-bb812c9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package time is a wrapper around the go standard time library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Now

func Now() time.Time

Now returns the current local time.

func SetCurrentTime

func SetCurrentTime(t int64)

func Since

func Since(t time.Time) time.Duration

Since returns the duration since t.

func Until

func Until(t time.Time) time.Duration

Until returns the duration until t.

Types

This section is empty.

Jump to

Keyboard shortcuts

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