(ctx context.Context, id uint64)
| 50 | } |
| 51 | |
| 52 | func (d *userExampleDao) deleteCache(ctx context.Context, id uint64) error { |
| 53 | if d.cache != nil { |
| 54 | return d.cache.Del(ctx, id) |
| 55 | } |
| 56 | return nil |
| 57 | } |
| 58 | |
| 59 | // Create a new userExample, insert the record and the id value is written back to the table |
| 60 | func (d *userExampleDao) Create(ctx context.Context, table *model.UserExample) error { |
no test coverage detected