WithTaskClient sets the task service to use from a tasks client.
(taskService tasks.TasksClient)
| 106 | |
| 107 | // WithTaskClient sets the task service to use from a tasks client. |
| 108 | func WithTaskClient(taskService tasks.TasksClient) ServicesOpt { |
| 109 | return func(s *services) { |
| 110 | s.taskService = taskService |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | // WithDiffClient sets the diff service to use from a diff client. |
| 115 | func WithDiffClient(diffService diff.DiffClient) ServicesOpt { |
no outgoing calls
searching dependent graphs…