Registry / utility / golang-sql-civil

golang-sql-civil

JSON →
library0.0.0-20220223132316-b832511892a9gogounverified

Provides civil time types (Date, Time, DateTime) that are time-zone-independent representations following the proleptic Gregorian calendar.

go get github.com/golang-sql/civil
INSTALL
IMPORT
SIG · GOLANG-SQL-CIVIL
G
golang-sql-civil
utilitygov0.0.0-20220223132316-b832511892a9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

civil
github.com/golang-sql/civil

Creates and prints a civil date.

package main import ( "fmt" "github.com/golang-sql/civil" ) func main() { d := civil.Date{Year: 2023, Month: 12, Day: 25} fmt.Println("Date:", d) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220223132316-b832511892a9latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
golang-sql-civil — go get golang-sql-civil · libregistry