normFields runs normFields on all the fields.
(fields []string, s *schema.Schema)
| 849 | |
| 850 | //normFields runs normFields on all the fields. |
| 851 | func normFields(fields []string, s *schema.Schema) []string { |
| 852 | if fields != nil { |
| 853 | for i, f := range fields { |
| 854 | fields[i] = normField(f, s.ID) |
| 855 | } |
| 856 | } |
| 857 | return fields |
| 858 | } |
| 859 | |
| 860 | //normField returns field prefixed with schema ID. |
| 861 | func normField(field, schemaID string) string { |
no test coverage detected