From 68eb250d59f42b9145acdb5c2c23a0c9d544744f Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Fri, 30 Oct 2020 21:33:58 +0000 Subject: [PATCH] move sim package into the server tree --- internal/app/ui.go | 2 +- internal/app/view.go | 2 +- internal/server/server.go | 2 +- internal/server/session.go | 2 +- internal/{ => server}/sim/effect.go | 0 internal/{ => server}/sim/entity.go | 0 internal/{ => server}/sim/floor.go | 0 internal/{ => server}/sim/player.go | 0 internal/{ => server}/sim/point.go | 0 internal/{ => server}/sim/request.go | 0 internal/{ => server}/sim/room.go | 0 internal/{ => server}/sim/tile.go | 0 internal/{ => server}/sim/world.go | 0 13 files changed, 4 insertions(+), 4 deletions(-) rename internal/{ => server}/sim/effect.go (100%) rename internal/{ => server}/sim/entity.go (100%) rename internal/{ => server}/sim/floor.go (100%) rename internal/{ => server}/sim/player.go (100%) rename internal/{ => server}/sim/point.go (100%) rename internal/{ => server}/sim/request.go (100%) rename internal/{ => server}/sim/room.go (100%) rename internal/{ => server}/sim/tile.go (100%) rename internal/{ => server}/sim/world.go (100%) diff --git a/internal/app/ui.go b/internal/app/ui.go index f1a4954..91a40e0 100644 --- a/internal/app/ui.go +++ b/internal/app/ui.go @@ -6,7 +6,7 @@ import ( "github.com/gdamore/tcell/v2" "github.com/jordanorelli/astro-domu/internal/exit" "github.com/jordanorelli/astro-domu/internal/server" - "github.com/jordanorelli/astro-domu/internal/sim" + "github.com/jordanorelli/astro-domu/internal/server/sim" "github.com/jordanorelli/astro-domu/internal/wire" "github.com/jordanorelli/blammo" ) diff --git a/internal/app/view.go b/internal/app/view.go index 626ac1b..bc39911 100644 --- a/internal/app/view.go +++ b/internal/app/view.go @@ -2,7 +2,7 @@ package app import ( "github.com/gdamore/tcell/v2" - "github.com/jordanorelli/astro-domu/internal/sim" + "github.com/jordanorelli/astro-domu/internal/server/sim" "github.com/jordanorelli/astro-domu/internal/wire" ) diff --git a/internal/server/server.go b/internal/server/server.go index e28f8eb..646ecd0 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -12,7 +12,7 @@ import ( "github.com/gorilla/websocket" "github.com/jordanorelli/astro-domu/internal/errors" - "github.com/jordanorelli/astro-domu/internal/sim" + "github.com/jordanorelli/astro-domu/internal/server/sim" "github.com/jordanorelli/astro-domu/internal/wire" "github.com/jordanorelli/blammo" ) diff --git a/internal/server/session.go b/internal/server/session.go index 79603e3..ac35dd0 100644 --- a/internal/server/session.go +++ b/internal/server/session.go @@ -6,7 +6,7 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/jordanorelli/astro-domu/internal/sim" + "github.com/jordanorelli/astro-domu/internal/server/sim" "github.com/jordanorelli/astro-domu/internal/wire" "github.com/jordanorelli/blammo" ) diff --git a/internal/sim/effect.go b/internal/server/sim/effect.go similarity index 100% rename from internal/sim/effect.go rename to internal/server/sim/effect.go diff --git a/internal/sim/entity.go b/internal/server/sim/entity.go similarity index 100% rename from internal/sim/entity.go rename to internal/server/sim/entity.go diff --git a/internal/sim/floor.go b/internal/server/sim/floor.go similarity index 100% rename from internal/sim/floor.go rename to internal/server/sim/floor.go diff --git a/internal/sim/player.go b/internal/server/sim/player.go similarity index 100% rename from internal/sim/player.go rename to internal/server/sim/player.go diff --git a/internal/sim/point.go b/internal/server/sim/point.go similarity index 100% rename from internal/sim/point.go rename to internal/server/sim/point.go diff --git a/internal/sim/request.go b/internal/server/sim/request.go similarity index 100% rename from internal/sim/request.go rename to internal/server/sim/request.go diff --git a/internal/sim/room.go b/internal/server/sim/room.go similarity index 100% rename from internal/sim/room.go rename to internal/server/sim/room.go diff --git a/internal/sim/tile.go b/internal/server/sim/tile.go similarity index 100% rename from internal/sim/tile.go rename to internal/server/sim/tile.go diff --git a/internal/sim/world.go b/internal/server/sim/world.go similarity index 100% rename from internal/sim/world.go rename to internal/server/sim/world.go