timeutil

package
v0.0.0-...-5fe729b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 1 Imported by: 4

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