Gary Leeson 9 months ago
parent
commit
8e39528be8

+ 4 - 4
examples/helloworld/helloworld.go

@@ -6,10 +6,10 @@ import (
 	"io"
 	"io/ioutil"
 
-	"git.riomhaire.com/gremlin/jrpcserver/infrastructure/api/rpc"
-	"git.riomhaire.com/gremlin/jrpcserver/model"
-	"git.riomhaire.com/gremlin/jrpcserver/model/jrpcerror"
-	"git.riomhaire.com/gremlin/jrpcserver/usecases/defaultcommand"
+	"jrpcserver/infrastructure/api/rpc"
+	"jrpcserver/model"
+	"jrpcserver/model/jrpcerror"
+	"jrpcserver/usecases/defaultcommand"
 )
 
 // A simple example 'helloworld' program to show how use the framework

+ 1 - 1
go.mod

@@ -1,4 +1,4 @@
-module git.riomhaire.com/gremlin/jrpcserver
+module jrpcserver
 
 go 1.21.5
 

+ 1 - 1
infrastructure/api/rpc/dispatcher.go

@@ -3,7 +3,7 @@ package rpc
 import (
 	"io"
 
-	"git.riomhaire.com/gremlin/jrpcserver/model"
+	"jrpcserver/model"
 )
 
 type Dispatcher struct {

+ 3 - 3
infrastructure/api/rpc/rpc.go

@@ -17,9 +17,9 @@ import (
 	lSyslog "github.com/sirupsen/logrus/hooks/syslog"
 	"github.com/urfave/negroni"
 
-	"git.riomhaire.com/gremlin/jrpcserver/infrastructure/serviceregistry"
-	"git.riomhaire.com/gremlin/jrpcserver/infrastructure/serviceregistry/consulagent"
-	"git.riomhaire.com/gremlin/jrpcserver/infrastructure/serviceregistry/none"
+	"jrpcserver/infrastructure/serviceregistry"
+	"jrpcserver/infrastructure/serviceregistry/consulagent"
+	"jrpcserver/infrastructure/serviceregistry/none"
 )
 
 var dispatcher *Dispatcher

+ 3 - 3
makefile

@@ -6,9 +6,9 @@ dependencies:
 
 build: dependencies
 	@echo Compiling Apps
-	@echo   --- git.riomhaire.com/gremlin/jrpcserver 
-	@go build git.riomhaire.com/gremlin/jrpcserver/infrastructure/application/riomhaire/jrpcserver
-	@go install git.riomhaire.com/gremlin/jrpcserver/infrastructure/application/riomhaire/jrpcserver
+	@echo   --- jrpcserver 
+	@go build jrpcserver/infrastructure/application/riomhaire/jrpcserver
+	@go install jrpcserver/infrastructure/application/riomhaire/jrpcserver
 	@echo Done Compiling Apps
 
 test:

+ 1 - 1
model/rpccommand.go

@@ -3,7 +3,7 @@ package model
 import (
 	"io"
 
-	"git.riomhaire.com/gremlin/jrpcserver/model/jrpcerror"
+	"jrpcserver/model/jrpcerror"
 )
 
 // TODO: Schema

+ 2 - 2
usecases/defaultcommand/commands.go

@@ -6,8 +6,8 @@ import (
 	"io"
 	"io/ioutil"
 
-	"git.riomhaire.com/gremlin/jrpcserver/model"
-	"git.riomhaire.com/gremlin/jrpcserver/model/jrpcerror"
+	"jrpcserver/model"
+	"jrpcserver/model/jrpcerror"
 )
 
 func PingCommand(config interface{}, metadata map[string]string, payload io.ReadCloser) (interface{}, jrpcerror.JrpcError) {

+ 2 - 2
usecases/initialize.go

@@ -1,8 +1,8 @@
 package usecases
 
 import (
-	"git.riomhaire.com/gremlin/jrpcserver/model"
-	"git.riomhaire.com/gremlin/jrpcserver/usecases/defaultcommand"
+	"jrpcserver/model"
+	"jrpcserver/usecases/defaultcommand"
 )
 
 var Commands []model.JRPCCommand