SetGroup sets the "group" edge to the Group entity.
(g *Group)
| 176 | |
| 177 | // SetGroup sets the "group" edge to the Group entity. |
| 178 | func (uc *UserCreate) SetGroup(g *Group) *UserCreate { |
| 179 | return uc.SetGroupID(g.ID) |
| 180 | } |
| 181 | |
| 182 | // AddFileIDs adds the "files" edge to the File entity by IDs. |
| 183 | func (uc *UserCreate) AddFileIDs(ids ...int) *UserCreate { |
nothing calls this directly
no test coverage detected