From 34ce9a7420953f5e32f33ba335acba9c283a950d Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 4 Mar 2023 22:08:09 -0600 Subject: [PATCH] misc. cleanup --- api/protocol/handler.go | 4 ---- {api/protocol => protocol}/consts.go | 0 {api/protocol => protocol}/packet.go | 0 {api/protocol => protocol}/structs.go | 0 server/server.go | 2 +- 5 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 api/protocol/handler.go rename {api/protocol => protocol}/consts.go (100%) rename {api/protocol => protocol}/packet.go (100%) rename {api/protocol => protocol}/structs.go (100%) diff --git a/api/protocol/handler.go b/api/protocol/handler.go deleted file mode 100644 index 3c11dc6..0000000 --- a/api/protocol/handler.go +++ /dev/null @@ -1,4 +0,0 @@ -package protocol - -type PacketHandler interface { -} diff --git a/api/protocol/consts.go b/protocol/consts.go similarity index 100% rename from api/protocol/consts.go rename to protocol/consts.go diff --git a/api/protocol/packet.go b/protocol/packet.go similarity index 100% rename from api/protocol/packet.go rename to protocol/packet.go diff --git a/api/protocol/structs.go b/protocol/structs.go similarity index 100% rename from api/protocol/structs.go rename to protocol/structs.go diff --git a/server/server.go b/server/server.go index d768760..da09d6f 100644 --- a/server/server.go +++ b/server/server.go @@ -6,7 +6,7 @@ import ( "log" "net" - "github.com/CPunch/GoFusion/api/protocol" + "github.com/CPunch/GoFusion/protocol" ) const (