SetRole sets the "role" field.
(s string)
| 39562 | |
| 39563 | // SetRole sets the "role" field. |
| 39564 | func (m *UserMutation) SetRole(s string) { |
| 39565 | m.role = &s |
| 39566 | } |
| 39567 | |
| 39568 | // Role returns the value of the "role" field in the mutation. |
| 39569 | func (m *UserMutation) Role() (r string, exists bool) { |
no outgoing calls