oop
This commit is contained in:
@@ -39,6 +39,8 @@ func upsertEvent(ctx context.Context, templateID int, e template.Event) error {
|
||||
|
||||
func (t *Template) apply(e template.Event) error {
|
||||
switch e := e.(type) {
|
||||
case *int:
|
||||
_ = e
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ func upsertEvent(ctx context.Context, priceIsWrongID int, e priceiswrong.Event)
|
||||
|
||||
func (p *PriceIsWrong) apply(e priceiswrong.Event) error {
|
||||
switch e := e.(type) {
|
||||
case *int:
|
||||
_ = e
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user