(ctx context.Context, email, vCode string)
| 27 | } |
| 28 | |
| 29 | func (e emailCache) StoreVCode(ctx context.Context, email, vCode string) error { |
| 30 | return e.client.Set(ctx, genEmailKey(email), vCode, time.Duration(10)*time.Minute).Err() |
| 31 | } |
| 32 | |
| 33 | func genEmailKey(email string) string { |
| 34 | return fmt.Sprintf("linkme:email:%s", email) |
nothing calls this directly
no test coverage detected