From ab525a79df93487bea24cdbc6caabac8a3bdded2 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 24 Jan 2022 22:23:12 +0100 Subject: Export ALL the fields --- types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'types.go') 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 -- cgit v1.2.3-54-g00ecf