einride / unit-go

Go SDK for modeling physical units and conversion between them

Home Page:https://pkg.go.dev/go.einride.tech/unit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit Go

Go SDK for modeling physical units and conversion between them.

Installation

go get go.einride.tech/unit

Example

angle := 3 * unit.Radian
fmt.Println(angle.Degrees())
// Output: 171.88733853924697

About

Go SDK for modeling physical units and conversion between them

https://pkg.go.dev/go.einride.tech/unit

License:MIT License


Languages

Language:Go 95.9%Language:Makefile 4.1%