SetBalance sets the "balance" field.
(f float64)
| 39598 | |
| 39599 | // SetBalance sets the "balance" field. |
| 39600 | func (m *UserMutation) SetBalance(f float64) { |
| 39601 | m.balance = &f |
| 39602 | m.addbalance = nil |
| 39603 | } |
| 39604 | |
| 39605 | // Balance returns the value of the "balance" field in the mutation. |
| 39606 | func (m *UserMutation) Balance() (r float64, exists bool) { |
no outgoing calls