(ctx context.Context, publisher shim.Publisher, sd shutdown.Service)
| 87 | } |
| 88 | |
| 89 | func newTaskService(ctx context.Context, publisher shim.Publisher, sd shutdown.Service) (taskAPI.TTRPCTaskService, error) { |
| 90 | // The shim.Publisher and shutdown.Service are usually useful for your task service, |
| 91 | // but we don't need them in the exampleTaskService. |
| 92 | return &exampleTaskService{}, nil |
| 93 | } |
| 94 | |
| 95 | var ( |
| 96 | _ = shim.TTRPCService(&exampleTaskService{}) |
no outgoing calls
no test coverage detected
searching dependent graphs…