Move the go:generate comments one line up to avoid documenting the type
This commit is contained in:
parent
10933b856e
commit
3da4e90d43
@ -11,6 +11,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
//go:generate jsonenums -type=ShirtSize
|
//go:generate jsonenums -type=ShirtSize
|
||||||
|
|
||||||
type ShirtSize byte
|
type ShirtSize byte
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -23,6 +24,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
//go:generate jsonenums -type=WeekDay
|
//go:generate jsonenums -type=WeekDay
|
||||||
|
|
||||||
type WeekDay int
|
type WeekDay int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user