17 Commits

Author SHA1 Message Date
Dan Kortschak
03398562de all: clean up lint identified by ruleguard
Ruleguard run with ruleguard -c=0 -rules ruleguard.rules.go ./... from
https://github.com/dgryski/semgrep-go with the following rules inactivated
to reduce noise:

- unconvert for floating point values
- oddcomparisons
- floateq
2021-05-19 05:44:58 +09:30
Dan Kortschak
ccc0da248a all: run make builds pass with go master
Run gofmt go1.17 adds the new //go:build comments
2021-04-19 15:00:56 +09:30
Egon Elbre
933b96a6d3 unit: make tests parallel 2020-03-16 16:10:59 +02:00
Dan Kortschak
6d55676c7d unit: complete coverage of generate code 2019-11-20 08:11:52 +10:30
Dan Kortschak
0d9ff7fffe unit: fix punctuation 2019-11-20 05:50:29 +10:30
Dan Kortschak
0625bf7eba unit: generate the Dimless type 2019-11-20 05:50:29 +10:30
Dan Kortschak
9f82e05433 unit: cover unit conversion code 2019-11-19 19:53:32 +10:30
Dan Kortschak
388dfc48ff unit: fix typos 2019-04-13 18:47:24 +09:30
Dan Kortschak
16be42a8a8 unit: remove explicitly prefixed constants 2019-04-13 18:47:24 +09:30
Dan Kortschak
e6c0b27913 unit: use SI spelling for SI units 2019-03-29 18:41:12 +10:30
Dan Kortschak
d7acb40536 unit: add Torque type 2019-03-29 12:07:17 +10:30
Dan Kortschak
2b3a6bb397 unit: add named derived units 2019-03-11 10:32:40 +10:30
Dan Kortschak
a2ec8ac13a unit: clean up gen formatting 2019-03-09 20:16:39 +10:30
Dan Kortschak
76645ce923 unit: add additional base SI units
* Angle
* Current
* LuminousIntensity
* Mole
* Temperature

and fix comment punctuation.
2019-03-09 20:16:39 +10:30
Dan Kortschak
3a6502718d unit: fix width formatting and improve test coverage 2019-02-27 06:53:14 +10:30
Dan Kortschak
92351892c0 unit: make code generation independent of GOPATH 2019-02-14 10:50:23 +10:30
Vladimir Chalupecky
e09dcee939 unit: move code generation to unit package 2018-11-18 10:49:41 +01:00