Documentation

Overview

    Package timeutil provides a func for getting start of week of given time.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func StartOfDay

    func StartOfDay(t time.Time) time.Time

      StartOfDay returns time at start of day of t.

      func StartOfWeek

      func StartOfWeek(t time.Time) time.Time

        StartOfWeek returns time at start of week of t.

        Types

        This section is empty.

        Source Files