SetViews sets the "views" field.
(i int)
| 83 | |
| 84 | // SetViews sets the "views" field. |
| 85 | func (sc *ShareCreate) SetViews(i int) *ShareCreate { |
| 86 | sc.mutation.SetViews(i) |
| 87 | return sc |
| 88 | } |
| 89 | |
| 90 | // SetNillableViews sets the "views" field if the given value is not nil. |
| 91 | func (sc *ShareCreate) SetNillableViews(i *int) *ShareCreate { |
no outgoing calls
no test coverage detected