timeutil

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package timeutil provides utilities for working with time in a consistent manner. All time-related functions ensure the time is represented in UTC, helping to avoid issues related to time zone discrepancies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Now added in v0.3.0

func Now() time.Time

func Timestamp added in v0.4.0

func Timestamp(t time.Time) int

func TimestampNow

func TimestampNow() int

Types

This section is empty.

Jump to

Keyboard shortcuts

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