summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'types.go')
-rw-r--r--types.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/types.go b/types.go
index 8c1538e..01c8b5e 100644
--- a/types.go
+++ b/types.go
@@ -20,7 +20,7 @@ func (g Gender) String() string {
}
}
-func (g Gender) engarde() (string, error) {
+func (g Gender) Engarde() (string, error) {
switch g {
case GenderM:
return "masculin", nil
@@ -69,7 +69,7 @@ func (a AgeGroup) String() string {
}
}
-func (a AgeGroup) engarde() (string, error) {
+func (a AgeGroup) Engarde() (string, error) {
switch a {
case AgeVeteran:
return "veteran", nil
@@ -112,7 +112,7 @@ func (w Weapon) String() string {
}
}
-func (w Weapon) engarde() (string, error) {
+func (w Weapon) Engarde() (string, error) {
switch w {
case Epee:
return "epee", nil