Sha256: db1f9705b6dd0a4b4de5c7b574b944c3af859c4468416d170f662b2b27e34ae3

Contents?: true

Size: 172 Bytes

Versions: 10

Compression:

Stored size: 172 Bytes

Contents

var <%= type.name %>NameToValue = map[string]<%= type.name %>{
<%-   type.each_value_and_name do |key, name| -%>
  <%= name.inspect %>: <%= key.inspect %>,
<%-   end -%>
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
goon_model_gen-0.4.3 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.4.2 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.4.1 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.4.0 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.3.1 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.3.0 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.2.5 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.2.4 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.2.3 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb
goon_model_gen-0.2.2 lib/goon_model_gen/templates/model/enum/04_NameToValue.go.erb