Sha256: 8f480789a787c35f33cb3a9d1a18430606514b7a99ab7969f8e9414eba3984ea

Contents?: true

Size: 155 Bytes

Versions: 4

Compression:

Stored size: 155 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
goon_model_gen-0.2.1 lib/goon_model_gen/templates/model/enum/02_Map.go.erb
goon_model_gen-0.2.0 lib/goon_model_gen/templates/model/enum/02_Map.go.erb
goon_model_gen-0.1.3 lib/goon_model_gen/templates/model/enum/02_Map.go.erb
goon_model_gen-0.1.2 lib/goon_model_gen/templates/model/enum/02_Map.go.erb