From 22ac6de1a634385b99317dedc79d56c82d69c9b5 Mon Sep 17 00:00:00 2001 From: Janos Dobronszki Date: Fri, 2 Oct 2020 18:13:23 +0200 Subject: [PATCH 1/2] Renames --- {config => conf}/main.go | 0 {store => kv}/handler/handler.go | 0 {store => kv}/main.go | 0 {store => kv}/proto/example.pb.go | 0 {store => kv}/proto/example.pb.micro.go | 0 {store => kv}/proto/example.proto | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename {config => conf}/main.go (100%) rename {store => kv}/handler/handler.go (100%) rename {store => kv}/main.go (100%) rename {store => kv}/proto/example.pb.go (100%) rename {store => kv}/proto/example.pb.micro.go (100%) rename {store => kv}/proto/example.proto (100%) diff --git a/config/main.go b/conf/main.go similarity index 100% rename from config/main.go rename to conf/main.go diff --git a/store/handler/handler.go b/kv/handler/handler.go similarity index 100% rename from store/handler/handler.go rename to kv/handler/handler.go diff --git a/store/main.go b/kv/main.go similarity index 100% rename from store/main.go rename to kv/main.go diff --git a/store/proto/example.pb.go b/kv/proto/example.pb.go similarity index 100% rename from store/proto/example.pb.go rename to kv/proto/example.pb.go diff --git a/store/proto/example.pb.micro.go b/kv/proto/example.pb.micro.go similarity index 100% rename from store/proto/example.pb.micro.go rename to kv/proto/example.pb.micro.go diff --git a/store/proto/example.proto b/kv/proto/example.proto similarity index 100% rename from store/proto/example.proto rename to kv/proto/example.proto From 5baea2bae3a49b0d5c6aef49ee0a29154d34b3cc Mon Sep 17 00:00:00 2001 From: Janos Dobronszki Date: Fri, 2 Oct 2020 18:17:09 +0200 Subject: [PATCH 2/2] Fix --- kv/handler/handler.go | 2 +- kv/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kv/handler/handler.go b/kv/handler/handler.go index de0677b..7a99894 100644 --- a/kv/handler/handler.go +++ b/kv/handler/handler.go @@ -8,7 +8,7 @@ import ( log "github.com/micro/go-micro/v3/logger" store "github.com/micro/micro/v3/service/store" - pb "github.com/micro/services/store/proto" + pb "github.com/micro/services/kv/proto" ) type Example struct{} diff --git a/kv/main.go b/kv/main.go index 2510ef2..358dd3c 100644 --- a/kv/main.go +++ b/kv/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/micro/services/store/handler" + "github.com/micro/services/kv/handler" "github.com/micro/micro/v3/service" )