summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2022-01-24 22:23:12 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2022-01-24 22:23:12 +0100
commitab525a79df93487bea24cdbc6caabac8a3bdded2 (patch)
treea2478247b448dac18fe60274b1894dd39c8d3f11 /types.go
parent89d6e3d79f4f97a9b49d1b90eae84b00fecd592e (diff)
downloadengarde-importer-ab525a79df93487bea24cdbc6caabac8a3bdded2.tar.gz
engarde-importer-ab525a79df93487bea24cdbc6caabac8a3bdded2.tar.bz2
engarde-importer-ab525a79df93487bea24cdbc6caabac8a3bdded2.zip
Export ALL the fields
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