SetName sets the "name" field.
(s string)
| 147 | |
| 148 | // SetName sets the "name" field. |
| 149 | func (m *ModelMutation) SetName(s string) { |
| 150 | m.name = &s |
| 151 | } |
| 152 | |
| 153 | // Name returns the value of the "name" field in the mutation. |
| 154 | func (m *ModelMutation) Name() (r string, exists bool) { |