Fix broken master; ensure all product service APIs have correct implementations (#20663)

* fix broken master; ensure all product service APIs are implemented by the structs passed to products

* use zero allocation interface checks
Этот коммит содержится в:
Doug Lauder
2022-07-15 13:20:40 -04:00
коммит произвёл GitHub
родитель d9bd29be33
Коммит 2aaf4cf0fb
17 изменённых файлов: 83 добавлений и 17 удалений

Просмотреть файл

@@ -312,6 +312,9 @@ func (ch *Channels) RequestTrialLicense(requesterID string, users int, termsAcce
receiveEmailsAccepted)
}
// Ensure hooksService implements `product.HooksService`
var _ product.HooksService = (*hooksService)(nil)
type hooksService struct {
ch *Channels
}