SetUserID sets the "user" edge to the User entity by id.
(id int)
| 12001 | |
| 12002 | // SetUserID sets the "user" edge to the User entity by id. |
| 12003 | func (m *ShareMutation) SetUserID(id int) { |
| 12004 | m.user = &id |
| 12005 | } |
| 12006 | |
| 12007 | // ClearUser clears the "user" edge to the User entity. |
| 12008 | func (m *ShareMutation) ClearUser() { |
nothing calls this directly
no outgoing calls
no test coverage detected