Skip to content

Templates (in progress)#10

Open
irsdkv wants to merge 1 commit intodevelopfrom
pr-gen_from_templates
Open

Templates (in progress)#10
irsdkv wants to merge 1 commit intodevelopfrom
pr-gen_from_templates

Conversation

@irsdkv
Copy link
Collaborator

@irsdkv irsdkv commented Jan 9, 2020

No description provided.

@irsdkv irsdkv added the enhancement New feature or request label Jan 9, 2020
@irsdkv irsdkv self-assigned this Jan 9, 2020
pub enum {{ name.upper_camel_case }} {
{% for value in values %}
/// {{ value.description }}
{{ value.name.upper_camel_case }} = {{ loop.index - 1 }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to use actual Enum member value.

@danieleades
Copy link
Collaborator

@irsdkv can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants