code: func (ms modelSpec) fieldNames() []string {
  	names := make([]string, len(ms.fields))
  	count := 0
  	for _, field := range ms.fields {
  		names[count] = field.name
  		count++
  	}
  	return names
  }
docs: // fieldNames returns all the field names for the given modelSpec