aboutsummaryrefslogtreecommitdiff
path: root/units.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-06 15:07:41 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-06 15:07:41 +0200
commitfbe34fac1e62617cd9d160e41f6730c550d95580 (patch)
tree88cfbc0030c322f380afd5046a4cd932b40938c6 /units.go
parente5f857994fd8239f3ac0f7e1de7181e628d8a059 (diff)
Add units
Diffstat (limited to 'units.go')
-rw-r--r--units.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/units.go b/units.go
new file mode 100644
index 0000000..7a6ab47
--- /dev/null
+++ b/units.go
@@ -0,0 +1,8 @@
+package main
+
+const (
+ MM = 20.0
+ CM = 10 * MM
+ DM = 10 * CM
+ Inch = 25.4 * MM
+)