SetRight sets the "right" field.
(b bool)
| 347 | |
| 348 | // SetRight sets the "right" field. |
| 349 | func (m *ModelMutation) SetRight(b bool) { |
| 350 | m.right = &b |
| 351 | } |
| 352 | |
| 353 | // Right returns the value of the "right" field in the mutation. |
| 354 | func (m *ModelMutation) Right() (r bool, exists bool) { |