PR feedback

This commit is contained in:
Pat Gavlin 2020-04-21 15:38:42 -07:00
parent 9204d70c54
commit 4f0aec56f6

View file

@ -953,6 +953,8 @@ func bindDefaultValue(value interface{}, spec *DefaultSpec, typ Type) (*DefaultV
return dv, nil
}
// bindProperties binds the map of property specs and list of required properties into a sorted list of peroperties and
// a lookup table.
func (t *types) bindProperties(properties map[string]PropertySpec,
required []string) ([]*Property, map[string]*Property, error) {