From 28b78f44818e43fb2c848ce062da36878b61e982 Mon Sep 17 00:00:00 2001 From: BenTrapani Date: Fri, 29 Jul 2016 15:31:29 -0400 Subject: [PATCH] Add test struct to verify naming works as expected --- example/shirtsize.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/example/shirtsize.go b/example/shirtsize.go index 58bb247..c2212ec 100644 --- a/example/shirtsize.go +++ b/example/shirtsize.go @@ -12,6 +12,14 @@ import ( "strings" ) +type TestCasing int + +const ( + caseMadnessA TestCasing = iota + caseMaDnEEsB + normalCaseExample +) + //go:generate jsonenums -type=ShirtSize type ShirtSize byte