Debian Codegraph @

pkg/types/enum_formatter.go

raw
1 package types
2
3 // EnumFormatter translate enums between strings and numbers.
4 type EnumFormatter interface {
5 Print(e int) string
6 Parse(s string) int
7 Names() []string
8 }