Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginningOfYear

func BeginningOfYear() time.Time

    BeginningOfYear beginning of year

    Types

    type Now

    type Now struct {
    	time.Time
    }

      Now now struct

      func New

      func New(t time.Time) *Now

        New initialize Now with time

        func (*Now) BeginningOfYear

        func (now *Now) BeginningOfYear() time.Time

          BeginningOfYear BeginningOfYear beginning of year

          Source Files