time

package
v0.0.0-...-25a2715 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time struct {
	// contains filtered or unexported fields
}

Time defined ext for time

func New

func New(time time.Time) *Time

New return a new Time

func Now

func Now() *Time

Now defined return timeNow

func (*Time) Range

func (t *Time) Range(start time.Time, end time.Time, tp string) []*Time

Range defined range by month

func (*Time) StartOf

func (t *Time) StartOf(tp string) *Time

StartOf defined startOf Time

func (*Time) StartOfDay

func (t *Time) StartOfDay() *Time

StartOfDay defined StartOfDay

func (*Time) StartOfMonth

func (t *Time) StartOfMonth() *Time

StartOfMonth defined StartOfMonth

func (*Time) Value

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

Value defined return time.Time

Jump to

Keyboard shortcuts

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