From 8897cc6fe5d1db97176d9d8ad97f2a814a662490 Mon Sep 17 00:00:00 2001 From: Nam Huynh Date: Mon, 21 Mar 2022 15:57:31 +0700 Subject: [PATCH] add GetInstance() --- instance.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/instance.go b/instance.go index 08104f0..c05c628 100644 --- a/instance.go +++ b/instance.go @@ -109,3 +109,8 @@ func initClient(redisConn asynq.RedisClientOpt) *asynq.Client { } return client } + +// GetInstance ... +func GetInstance() Instance { + return instance +}