(id uuid.UUID)
| 2020 | } |
| 2021 | |
| 2022 | func watchTemplateChannel(id uuid.UUID) string { |
| 2023 | return fmt.Sprintf("template:%s", id) |
| 2024 | } |
| 2025 | |
| 2026 | func (api *API) publishTemplateUpdate(ctx context.Context, templateID uuid.UUID) { |
| 2027 | err := api.Pubsub.Publish(watchTemplateChannel(templateID), []byte{}) |
no outgoing calls
no test coverage detected