MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / Update

Method Update

model/topup.go:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (topUp *TopUp) Update() error {
29 var err error
30 err = DB.Save(topUp).Error
31 return err
32}
33
34func GetTopUpById(id int) *TopUp {
35 var topUp *TopUp

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.80

Tested by

no test coverage detected