Sha256: a87753e29a50bf6097b40f563facfe4db2b7ca3b8b0c27d7aac19925cbcce3e0

Contents?: true

Size: 195 Bytes

Versions: 10

Compression:

Stored size: 195 Bytes

Contents

type <%= type.name %> <%= type.base_type.qualified_name %>

const (
<%-   type.each_value_and_name do |key, name| -%>
  <%= name.camelize %> <%= type.name %> = <%= 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/01_base.go.erb
goon_model_gen-0.4.2 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.4.1 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.4.0 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.3.1 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.3.0 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.2.5 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.2.4 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.2.3 lib/goon_model_gen/templates/model/enum/01_base.go.erb
goon_model_gen-0.2.2 lib/goon_model_gen/templates/model/enum/01_base.go.erb