From 1dfb55b4ba7e76647adbed734d12b5be49e0be9d Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 12 Apr 2018 19:08:01 +0900 Subject: [PATCH] ing --- config/config.go | 4 ++-- server/server.go | 4 ++-- service/member-service.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/config.go b/config/config.go index b1ffa3a..0f49c62 100644 --- a/config/config.go +++ b/config/config.go @@ -3,13 +3,13 @@ package config import ( "crypto/rsa" - occe "git.loafle.net/overflow/commons-go/config/external" + ocec "git.loafle.net/overflow/commons-go/external/config" ogrs "git.loafle.net/overflow/gateway_rest/server" ) type Config struct { ServerHandler *ogrs.ServerHandlers `json:"serverHandler"` - External *occe.External `json:"external"` + External *ocec.External `json:"external"` VerifyKey *rsa.PublicKey SignKey *rsa.PrivateKey diff --git a/server/server.go b/server/server.go index 8f94343..b15fdfc 100644 --- a/server/server.go +++ b/server/server.go @@ -4,7 +4,7 @@ import ( cdr "git.loafle.net/commons/di-go/registry" "git.loafle.net/commons/logging-go" cswf "git.loafle.net/commons/server-go/web/fasthttp" - oca "git.loafle.net/overflow/commons-go/annotation" + occa "git.loafle.net/overflow/commons-go/core/annotation" "git.loafle.net/overflow/member_gateway_rest/config" "git.loafle.net/overflow/member_gateway_rest/servlet" ) @@ -14,7 +14,7 @@ func NewServer(_config *config.Config) *cswf.Server { cdr.RegisterResource("VerifyKey", _config.VerifyKey) cdr.RegisterResource("SignKey", _config.SignKey) - services, err := cdr.GetInstancesByAnnotationType(oca.RESTServiceAnnotationType) + services, err := cdr.GetInstancesByAnnotationType(occa.RESTServiceAnnotationType) if nil != err { logging.Logger().Panic(err) } diff --git a/service/member-service.go b/service/member-service.go index f5671eb..30d49c3 100644 --- a/service/member-service.go +++ b/service/member-service.go @@ -12,7 +12,7 @@ import ( cdr "git.loafle.net/commons/di-go/registry" "git.loafle.net/commons/logging-go" "git.loafle.net/commons/server-go" - _ "git.loafle.net/overflow/commons-go/annotation" + _ "git.loafle.net/overflow/commons-go/core/annotation" "git.loafle.net/overflow/gateway/external/grpc" "github.com/valyala/fasthttp"