Clear removes the field from the set. It is not an error to clear a field which is not set.
(field field)
| 94 | // Clear removes the field from the set. It is not an error to |
| 95 | // clear a field which is not set. |
| 96 | func (s fieldSet) Clear(field field) fieldSet { |
| 97 | return s.ClearAll(field.AsSet()) |
| 98 | } |
| 99 | |
| 100 | // ClearAll removes all fields from other in the set. It is not an |
| 101 | // error to clear fields which are not set. |
no test coverage detected