diff --git a/back/genstring.go b/internal/back/genstring.go similarity index 100% rename from back/genstring.go rename to internal/back/genstring.go diff --git a/back/store.go b/internal/back/store.go similarity index 100% rename from back/store.go rename to internal/back/store.go diff --git a/back/store_test.go b/internal/back/store_test.go similarity index 99% rename from back/store_test.go rename to internal/back/store_test.go index 172911f..5eb178a 100644 --- a/back/store_test.go +++ b/internal/back/store_test.go @@ -9,7 +9,7 @@ import ( "github.com/matryer/is" "github.com/rickb777/date" - "gitlab.codemonkeysoftware.net/b/henwen/back" + "gitlab.codemonkeysoftware.net/b/henwen/internal/back" ) func TestNewMemoryStore(t *testing.T) { diff --git a/front/server.go b/internal/front/server.go similarity index 99% rename from front/server.go rename to internal/front/server.go index 15fb77b..fec64f7 100644 --- a/front/server.go +++ b/internal/front/server.go @@ -14,7 +14,7 @@ import ( hm "gitlab.codemonkeysoftware.net/b/hatmill" a "gitlab.codemonkeysoftware.net/b/hatmill/attribute" e "gitlab.codemonkeysoftware.net/b/hatmill/element" - "gitlab.codemonkeysoftware.net/b/henwen/back" + "gitlab.codemonkeysoftware.net/b/henwen/internal/back" ) const ( diff --git a/main.go b/main.go index 876bf51..84a0c5e 100644 --- a/main.go +++ b/main.go @@ -5,8 +5,8 @@ import ( "log" "net/http" - "gitlab.codemonkeysoftware.net/b/henwen/back" - "gitlab.codemonkeysoftware.net/b/henwen/front" + "gitlab.codemonkeysoftware.net/b/henwen/internal/back" + "gitlab.codemonkeysoftware.net/b/henwen/internal/front" ) func main() { diff --git a/todo.txt b/todo.txt index 2dca8a4..9341f33 100644 --- a/todo.txt +++ b/todo.txt @@ -2,7 +2,6 @@ Essential: ------------ Show response after submission Add a schema ID to the DB -Move front and back into internal Require earliest and latest dates for creation Ensure latest date is at least earliest date Ensure date span is within a maximum