diff --git a/server/action/map.go b/server/action/map.go index e16e505..3e294cb 100644 --- a/server/action/map.go +++ b/server/action/map.go @@ -1,8 +1,8 @@ package action import ( + "git.reya.zone/reya/hexmap/server/state" "go.uber.org/zap/zapcore" - "hexmap-server/state" ) const ( diff --git a/server/action/syncable.go b/server/action/syncable.go index 89b7d44..d80121a 100644 --- a/server/action/syncable.go +++ b/server/action/syncable.go @@ -2,8 +2,8 @@ package action import ( "errors" + "git.reya.zone/reya/hexmap/server/state" "go.uber.org/zap/zapcore" - "hexmap-server/state" ) var ( diff --git a/server/action/user.go b/server/action/user.go index d9b05b7..0ed22a6 100644 --- a/server/action/user.go +++ b/server/action/user.go @@ -1,8 +1,8 @@ package action import ( + "git.reya.zone/reya/hexmap/server/state" "go.uber.org/zap/zapcore" - "hexmap-server/state" ) const ( diff --git a/server/go.mod b/server/go.mod index 7af6de1..44d9a86 100644 --- a/server/go.mod +++ b/server/go.mod @@ -1,4 +1,4 @@ -module hexmap-server +module git.reya.zone/reya/hexmap/server go 1.16 diff --git a/server/room/actor.go b/server/room/actor.go index d75dbe8..eddf0dd 100644 --- a/server/room/actor.go +++ b/server/room/actor.go @@ -1,10 +1,10 @@ package room import ( + "git.reya.zone/reya/hexmap/server/action" + "git.reya.zone/reya/hexmap/server/state" "github.com/rs/xid" "go.uber.org/zap" - "hexmap-server/action" - "hexmap-server/state" ) // act is the meat and potatoes of the room - it's responsible for actually running the room. diff --git a/server/room/clientmessage.go b/server/room/clientmessage.go index 917f60b..4254db6 100644 --- a/server/room/clientmessage.go +++ b/server/room/clientmessage.go @@ -1,9 +1,9 @@ package room import ( + "git.reya.zone/reya/hexmap/server/websocket" "github.com/rs/xid" "go.uber.org/zap/zapcore" - "hexmap-server/websocket" ) // ClientMessage marks messages coming from clients to the room. diff --git a/server/room/message.go b/server/room/message.go index aa2aac5..ff1a0fe 100644 --- a/server/room/message.go +++ b/server/room/message.go @@ -1,10 +1,10 @@ package room import ( + "git.reya.zone/reya/hexmap/server/action" + "git.reya.zone/reya/hexmap/server/state" "github.com/rs/xid" "go.uber.org/zap/zapcore" - "hexmap-server/action" - "hexmap-server/state" ) // Message marks messages going to clients from the room. diff --git a/server/room/room.go b/server/room/room.go index 7228ade..6c4b42d 100644 --- a/server/room/room.go +++ b/server/room/room.go @@ -1,9 +1,9 @@ package room import ( + "git.reya.zone/reya/hexmap/server/state" "github.com/rs/xid" "go.uber.org/zap" - "hexmap-server/state" ) // NewOptions is the set of information used to control what a room starts with. diff --git a/server/websocket/client.go b/server/websocket/client.go index df5d2cc..73f929b 100644 --- a/server/websocket/client.go +++ b/server/websocket/client.go @@ -1,8 +1,8 @@ package websocket import ( + "git.reya.zone/reya/hexmap/server/action" "go.uber.org/zap/zapcore" - "hexmap-server/action" ) // ClientMessageType is an enum type for the client's protocol messages. diff --git a/server/websocket/server.go b/server/websocket/server.go index 6c95672..d318672 100644 --- a/server/websocket/server.go +++ b/server/websocket/server.go @@ -1,9 +1,9 @@ package websocket import ( + "git.reya.zone/reya/hexmap/server/action" + "git.reya.zone/reya/hexmap/server/state" "go.uber.org/zap/zapcore" - "hexmap-server/action" - "hexmap-server/state" ) // ServerMessageType is an enum type for the server's messages.