From aceef8a497c3cf6ece556650b018ac287720ed81 Mon Sep 17 00:00:00 2001 From: Beric Bearnson <37596980+bericyb@users.noreply.github.com> Date: Sat, 3 Aug 2024 11:05:14 -0600 Subject: [PATCH] fix go stuff --- client/go.mod | 3 --- cmd/server/main.go | 10 ++++++++++ server/go.mod => go.mod | 2 +- server/go.sum => go.sum | 0 {server => internal}/netwrk/netwrk.go | 0 server/main.go | 5 ----- 6 files changed, 11 insertions(+), 9 deletions(-) delete mode 100644 client/go.mod create mode 100644 cmd/server/main.go rename server/go.mod => go.mod (84%) rename server/go.sum => go.sum (100%) rename {server => internal}/netwrk/netwrk.go (100%) delete mode 100644 server/main.go diff --git a/client/go.mod b/client/go.mod deleted file mode 100644 index 6bc08ba..0000000 --- a/client/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module pongclient - -go 1.22.1 diff --git a/cmd/server/main.go b/cmd/server/main.go new file mode 100644 index 0000000..a44eb77 --- /dev/null +++ b/cmd/server/main.go @@ -0,0 +1,10 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Starting sshpong server") + +} diff --git a/server/go.mod b/go.mod similarity index 84% rename from server/go.mod rename to go.mod index 9a7370d..ec11306 100644 --- a/server/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module sshpong -go 1.22.1 +go 1.22.2 require github.com/google/uuid v1.6.0 diff --git a/server/go.sum b/go.sum similarity index 100% rename from server/go.sum rename to go.sum diff --git a/server/netwrk/netwrk.go b/internal/netwrk/netwrk.go similarity index 100% rename from server/netwrk/netwrk.go rename to internal/netwrk/netwrk.go diff --git a/server/main.go b/server/main.go deleted file mode 100644 index 7905807..0000000 --- a/server/main.go +++ /dev/null @@ -1,5 +0,0 @@ -package main - -func main() { - -}