SetType sets the "type" field.
(n node.Type)
| 7442 | |
| 7443 | // SetType sets the "type" field. |
| 7444 | func (m *NodeMutation) SetType(n node.Type) { |
| 7445 | m._type = &n |
| 7446 | } |
| 7447 | |
| 7448 | // GetType returns the value of the "type" field in the mutation. |
| 7449 | func (m *NodeMutation) GetType() (r node.Type, exists bool) { |