From 3da4e90d4393be281cf409bead9aa3860415a87b Mon Sep 17 00:00:00 2001 From: Francesc Campoy Date: Sat, 31 Jan 2015 10:21:59 +0100 Subject: [PATCH] Move the go:generate comments one line up to avoid documenting the type --- example/shirtsize.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/shirtsize.go b/example/shirtsize.go index 4bdf15e..e0bfc26 100644 --- a/example/shirtsize.go +++ b/example/shirtsize.go @@ -11,6 +11,7 @@ import ( ) //go:generate jsonenums -type=ShirtSize + type ShirtSize byte const ( @@ -23,6 +24,7 @@ const ( ) //go:generate jsonenums -type=WeekDay + type WeekDay int const (