timeutil

package
Version: v0.0.0-...-93f0716 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 1 Imported by: 3

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.

Jump to

Keyboard shortcuts

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