From d48adec7767d83750b7bf8dec70a91dd4b73562a Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 26 Mar 2018 12:40:16 +0900 Subject: [PATCH] ing --- modules/commons/interfaces/Stoper.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/commons/interfaces/Stoper.go b/modules/commons/interfaces/Stoper.go index 3148b00..15293cc 100644 --- a/modules/commons/interfaces/Stoper.go +++ b/modules/commons/interfaces/Stoper.go @@ -1,5 +1,7 @@ package interfaces +import "context" + type Stoper interface { - Stop() error + Stop(ctx context.Context) error }