From c256d21209cfd3a843efb44b95cc97e9716438ec Mon Sep 17 00:00:00 2001 From: realsangil Date: Mon, 18 Jul 2022 08:47:48 +0900 Subject: [PATCH] Fix typo --- canal/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canal/handler.go b/canal/handler.go index ea12304b8..80a10a956 100644 --- a/canal/handler.go +++ b/canal/handler.go @@ -6,7 +6,7 @@ import ( ) type EventHandler interface { - OnRotate(roateEvent *replication.RotateEvent) error + OnRotate(rotateEvent *replication.RotateEvent) error // OnTableChanged is called when the table is created, altered, renamed or dropped. // You need to clear the associated data like cache with the table. // It will be called before OnDDL.