AsSet returns a singleton set containing the field.
()
| 59 | |
| 60 | // AsSet returns a singleton set containing the field. |
| 61 | func (f field) AsSet() fieldSet { |
| 62 | return 1 << f |
| 63 | } |
| 64 | |
| 65 | // Pretty wraps the generated String() function to return only the |
| 66 | // name: "Year" vs "fieldYear". |
no outgoing calls
no test coverage detected