sTime

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DateSeparator = "."

Functions

func ForLog

func ForLog(value any, prec int) string

func ForWeb

func ForWeb(value any, prec int) string

func Format

func Format(value any, prec int) string

func FormatSep

func FormatSep(value any, prec int, separator string) string

func Since

func Since(duration time.Duration) string

func ToTime

func ToTime(value any) (time.Time, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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