Releases: smyrman/units
Releases · smyrman/units
v0.2.0
Generated packages
This release marks the transition to a new package hierarchy based on code generation.
Since v0.0.1, the package layout has been completely changed. Type and constant definitions have been moved into sub-packages to allow for shorter names, and a more restricted scope from which package symmetry can arise.
To migrate, search and replace the following:
units.Distance->linear.Distanceunits.Velocity->linear.Velocityunits.Angle->angular.Angleunits.AngularVelocity->angular.Velocityunits.Coordinate->planar.Point
Then, assure the proper imports, most conveniently through the use of goimports, or manually by replacing the "github.com/smyrman/units" import with the appropriate import(s):
- "github.com/smyrman/units/linear"
- "github.com/smyrman/units/angular"
- "github.com/smyrman/units/planar"