Skip to content

Releases: smyrman/units

v0.2.0

02 Dec 09:21
f1628dd
Compare
Choose a tag to compare

What's Changed

  • update to use go.mod and GitHubActions by @smyrman in #4

Full Changelog: v0.1.0...v0.2.0

Generated packages

15 Dec 19:07
Compare
Choose a tag to compare
Generated packages Pre-release
Pre-release

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.Distance
  • units.Velocity -> linear.Velocity
  • units.Angle -> angular.Angle
  • units.AngularVelocity -> angular.Velocity
  • units.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"

Legacy

26 Aug 14:54
Compare
Choose a tag to compare
Legacy Pre-release
Pre-release

This release marks the original flat package structure used for the Loke (eng: Loki) autonomous robot in 2012.