AddStorage adds i to the "storage" field.
(i int64)
| 15511 | |
| 15512 | // AddStorage adds i to the "storage" field. |
| 15513 | func (m *UserMutation) AddStorage(i int64) { |
| 15514 | if m.addstorage != nil { |
| 15515 | *m.addstorage += i |
| 15516 | } else { |
| 15517 | m.addstorage = &i |
| 15518 | } |
| 15519 | } |
| 15520 | |
| 15521 | // AddedStorage returns the value that was added to the "storage" field in this mutation. |
| 15522 | func (m *UserMutation) AddedStorage() (r int64, exists bool) { |
no outgoing calls
no test coverage detected