mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-23 02:40:49 -05:00
Fix compile issue in nomgen.go
type.Values is not a thing, but type.Value is.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user