Unhide forces to unhide the specified fields from the public safe serialization of the record (even when the collection field itself is marked as hidden).
(fieldNames ...string)
| 1244 | // Unhide forces to unhide the specified fields from the public safe serialization |
| 1245 | // of the record (even when the collection field itself is marked as hidden). |
| 1246 | func (record *Record) Unhide(fieldNames ...string) *Record { |
| 1247 | for _, name := range fieldNames { |
| 1248 | record.customVisibility.Set(name, true) |
| 1249 | } |
| 1250 | |
| 1251 | return record |
| 1252 | } |
| 1253 | |
| 1254 | // PublicExport exports only the record fields that are safe to be public. |
| 1255 | // |