time

package
v0.0.0-...-e21cde0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time int64

func Milliseconds

func Milliseconds(ms int64) Time

func Parse

func Parse(s string) (Time, error)

TODO: Support optional milliseconds part.

func Seconds

func Seconds(seconds int64) Time

func (Time) Hour

func (t Time) Hour() int

func (Time) Millisecond

func (t Time) Millisecond() int

func (Time) Minute

func (t Time) Minute() int

func (Time) Second

func (t Time) Second() int

func (Time) String

func (t Time) String() string

Jump to

Keyboard shortcuts

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