SetAvatar sets the "avatar" field.
(s string)
| 144 | |
| 145 | // SetAvatar sets the "avatar" field. |
| 146 | func (uc *UserCreate) SetAvatar(s string) *UserCreate { |
| 147 | uc.mutation.SetAvatar(s) |
| 148 | return uc |
| 149 | } |
| 150 | |
| 151 | // SetNillableAvatar sets the "avatar" field if the given value is not nil. |
| 152 | func (uc *UserCreate) SetNillableAvatar(s *string) *UserCreate { |