aboutsummaryrefslogtreecommitdiffstats
path: root/calc.go
diff options
context:
space:
mode:
Diffstat (limited to 'calc.go')
-rw-r--r--calc.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/calc.go b/calc.go
index 1d969cc..8a114a4 100644
--- a/calc.go
+++ b/calc.go
@@ -5,11 +5,11 @@ import (
"strings"
)
-type AngleMode int
+type AngleMode bool
const (
- modeDeg = iota
- modeRad
+ modeDeg = false
+ modeRad = true
)
type Calculator struct {