Moved Google Translate client to Router.

This commit is contained in:
Patrick Connolly
2018-10-23 19:34:47 +08:00
parent 5697772ee3
commit c42a4db10b
2 changed files with 1 additions and 2 deletions

View File

@@ -11,7 +11,6 @@ import (
prefixed "github.com/matterbridge/logrus-prefixed-formatter"
log "github.com/sirupsen/logrus"
"github.com/spf13/viper"
"cloud.google.com/go/translate"
)
const (
@@ -172,7 +171,6 @@ type ConfigValues struct {
Zulip map[string]Protocol
General Protocol
Gateway []Gateway
GTClient *translate.Client
SameChannelGateway []SameChannelGateway
}