time

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package time - используется для возможности замены функции получения текущего времени.

Полезно для использования в тестах

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Now

func Now() time.Time

func SetNowFunc

func SetNowFunc(f func() time.Time)

Types

This section is empty.

Jump to

Keyboard shortcuts

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