dbtime
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcStartOfDay¶added inv2.19.0
StartOfDay returns the first timestamp of the day of the input timestamp in its location.
funcTime¶
Time returns a time compatible with Postgres. Postgres only stores dates withmicrosecond precision.FIXME(dannyk): refactor all calls to Time() to expect the input time to be modified to UTC; there are currently a
few calls whose behavior would change subtly.See https://github.com/coder/coder/pull/14274#discussion_r1718427461
Types¶
This section is empty.