Categorygo.einride.tech/unit
repositorypackage
1.12.7
Repository: https://github.com/einride/unit-go.git
Documentation: pkg.go.dev

# README

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