convert

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 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 added in v1.2.0

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

func NewTimeTracker added in v1.2.0

func NewTimeTracker(Time time.Time) *TimeTracker

func (*TimeTracker) Format added in v1.2.0

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

func (*TimeTracker) IsFuture added in v1.2.0

func (t *TimeTracker) IsFuture() bool

func (*TimeTracker) IsPast added in v1.2.0

func (t *TimeTracker) IsPast() bool

func (*TimeTracker) IsZero added in v1.2.0

func (t *TimeTracker) IsZero() bool

func (*TimeTracker) Strings added in v1.2.0

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