utils

package
v0.0.0-...-258a0d2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupLogger

func SetupLogger()

Types

type Time

type Time struct {
	time.Time
	Date     time.Time
	Now      time.Time
	Location *time.Location
}

func NewTime

func NewTime(timeConfig ...Time) *Time

func (*Time) DaysInMonth

func (t *Time) DaysInMonth(i time.Time) int

func (*Time) EndDate

func (t *Time) EndDate() time.Time

func (*Time) FormatDate

func (t *Time) FormatDate() time.Time

func (*Time) FormatDateWithInput

func (t *Time) FormatDateWithInput(i time.Time) time.Time

func (*Time) StartDate

func (t *Time) StartDate() time.Time

Jump to

Keyboard shortcuts

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