1 2 3 4
// String returns the string representation. func (e {{ enum_name }}) String() string { return e.Variant }