Fix compile issue in nomgen.go

type.Values is not a thing, but type.Value is.
This commit is contained in:
Chris Masone
2015-07-13 11:03:23 -07:00
parent 2e196aacef
commit c9e4a44cb0
+1 -1
View File
@@ -108,7 +108,7 @@ func (ng *NG) writeStruct(val types.Map) {
getGoTypeName(val),
})
val.Iter(func(k, v types.Values) (stop bool) {
val.Iter(func(k, v types.Value) (stop bool) {
sk := k.(types.String).String()
if sk[0] != '$' {
ng.writeField(structName, sk, v)