An open API service indexing awesome lists of open source software.

https://github.com/einride/unit-go

Go SDK for modeling physical units and conversion between them
https://github.com/einride/unit-go

go golang physical-modeling physical-units

Last synced: 6 months ago
JSON representation

Go SDK for modeling physical units and conversion between them

Awesome Lists containing this project

README

          

# Unit Go

Go SDK for modeling physical units and conversion between them.

## Installation

```
go get go.einride.tech/unit
```

## Example

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