marstr / units

Type definitions for working with many different units.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Units

Build PkgGoDev

Find yourself wishing that you had type defintions for all of the units in your life, comparable to time.Time? This library hopes to bring that level of convenience and type safety while working with all sorts of different quantities. All of these types are defined to be 64 bits wide for maximum precision and range. Types which loan themselves to being discrete are expressed as unsigned integers, types that are more prone to being continuous are of type float64.

License

This library is available for use under the very permissive MIT license. The full text of which can be found here: ./LICENSE

About

Type definitions for working with many different units.

License:MIT License


Languages

Language:Go 98.3%Language:Makefile 1.4%Language:Batchfile 0.3%