add GetInstance()

This commit is contained in:
Nam Huynh 2022-03-21 15:57:31 +07:00 committed by GitHub
parent 4b5842b59d
commit 8897cc6fe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -109,3 +109,8 @@ func initClient(redisConn asynq.RedisClientOpt) *asynq.Client {
}
return client
}
// GetInstance ...
func GetInstance() Instance {
return instance
}