{{~if ___top_module != ''~}}
package {{__top_module}};
{{~end~}}

{{~if __this.comment != '' ~}}
/**
 * {{escape_comment __this.comment}}
 */
{{~end~}}
type {{full_name __this}} int32
const (
    {{~ for item in __this.items ~}}
{{~if item.comment_or_alias != '' ~}}
    /**
     * {{escape_comment item.comment_or_alias}}
     */
{{~end~}}
    {{full_name __this}}_{{item.name}} {{full_name __this}} = {{item.int_value}};
    {{~end~}}
)
