convert

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatNumber

func FormatNumber(value any) string

func ToFloat

func ToFloat(value any) float64

Types

type TimeTracker

type TimeTracker struct {
	Years   int
	Months  int
	Days    int
	Hours   int
	Minutes int
	Seconds int
	// contains filtered or unexported fields
}

func NewTimeTracker

func NewTimeTracker(Time time.Time) *TimeTracker

func (*TimeTracker) Format

func (t *TimeTracker) Format(format string) string

func (*TimeTracker) IsFuture

func (t *TimeTracker) IsFuture() bool

func (*TimeTracker) IsPast

func (t *TimeTracker) IsPast() bool

func (*TimeTracker) IsZero

func (t *TimeTracker) IsZero() bool

func (*TimeTracker) Strings

func (t *TimeTracker) Strings() (string, string, string, string, string, string)

Jump to

Keyboard shortcuts

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