codezuma / go-types

A Go library of useful types not present in the standard library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-types

License: MIT GoDoc

Package go-types provides idomatic Go implementations of useful aggregate types that are not present in the Go standard library. Each type is provided as a subpackage and, as much as possible, adheres to recommended Go idioms.

Provided Types

This table contains a summary of the types provided by this package. See the sub-package level README.md files for more details of the individual types.

Type Description
timeofday.Value A type that represents a specific time of day - in the range [00:00:00 .. 23:59:59.999999999) - independent of date, time zone and Daylight Savings Time concerns.
date.Value A type that represents a calendar date with no time component, which is useful for avoiding the vaguaries of what one day means after considering time zones and Daylight Savings Time.

Installation

Once you have installed Go, run this command to install the go-types package:

go get github.com/dylan-bourque/go-types

License

This source code of this package is released under the MIT License. Please see the LICENSE for the full content of the license.

About

A Go library of useful types not present in the standard library

License:MIT License


Languages

Language:Go 100.0%