From 68fea439776cb115eb7ba12e0c27bb16f13f3966 Mon Sep 17 00:00:00 2001 From: btracey Date: Wed, 2 Oct 2013 00:12:53 -0700 Subject: [PATCH] Changed to XxxDim for dimensions --- unittype.go | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/unittype.go b/unittype.go index cf19c918..932a3b4b 100644 --- a/unittype.go +++ b/unittype.go @@ -15,16 +15,15 @@ type Dimension int const ( // SI Base Units - Chemamt Dimension = iota // e.g. mol - Current - Length - Luminosity - Mass - Temperature - Time + CurrentDim Dimension = iota + LengthDim + LuminosityDim + MassDim + TemperatureDim + TimeDim // Start of other SI Units - Angle // e.g. radians - lastPackageDimension // Used in create dimension + AngleDim // e.g. radians + lastPackageDimensionDim // Used in create dimension ) // Dimensions represent the dimensionality of the unit in powers