(ctx context.Context, duration time.Duration)
| 49 | } |
| 50 | |
| 51 | func (s *Service) Sleep(ctx context.Context, duration time.Duration) { |
| 52 | select { |
| 53 | case <-time.After(duration): |
| 54 | case <-ctx.Done(): |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (s *Service) Rets() (string, error) { |
| 59 | return "", nil |
no outgoing calls
no test coverage detected