diff --git a/core/errors.go b/errors.go similarity index 86% rename from core/errors.go rename to errors.go index e529736..4cef18f 100644 --- a/core/errors.go +++ b/errors.go @@ -1,4 +1,4 @@ -package core +package hyper import "errors" diff --git a/core/handler.go b/handler.go similarity index 80% rename from core/handler.go rename to handler.go index 40e7a0d..8f59765 100644 --- a/core/handler.go +++ b/handler.go @@ -1,3 +1,3 @@ -package core +package hyper type HandlerFunc func(w ResponseWriter, request *Request) diff --git a/core/http_methods.go b/http_methods.go similarity index 96% rename from core/http_methods.go rename to http_methods.go index 3b103f1..ace8c8c 100644 --- a/core/http_methods.go +++ b/http_methods.go @@ -1,4 +1,4 @@ -package core +package hyper type HttpMethod string diff --git a/core/hyper.go b/hyper.go similarity index 99% rename from core/hyper.go rename to hyper.go index b031fb6..48c777c 100644 --- a/core/hyper.go +++ b/hyper.go @@ -1,4 +1,4 @@ -package core +package hyper import ( "bufio" diff --git a/core/objects.go b/objects.go similarity index 92% rename from core/objects.go rename to objects.go index 563b520..bb78d8f 100644 --- a/core/objects.go +++ b/objects.go @@ -1,4 +1,4 @@ -package core +package hyper const ( delimNewLine = '\n' diff --git a/core/request.go b/request.go similarity index 98% rename from core/request.go rename to request.go index 42bd1b4..fbcb804 100644 --- a/core/request.go +++ b/request.go @@ -1,4 +1,4 @@ -package core +package hyper import ( "encoding/json" diff --git a/core/response.go b/response.go similarity index 99% rename from core/response.go rename to response.go index 9f3fc83..0b19b01 100644 --- a/core/response.go +++ b/response.go @@ -1,4 +1,4 @@ -package core +package hyper import ( "bytes" diff --git a/core/static.go b/static.go similarity index 98% rename from core/static.go rename to static.go index c6c6ce8..50ce534 100644 --- a/core/static.go +++ b/static.go @@ -1,4 +1,4 @@ -package core +package hyper import ( "log" diff --git a/core/templates.go b/templates.go similarity index 96% rename from core/templates.go rename to templates.go index b3d85a5..779e4f3 100644 --- a/core/templates.go +++ b/templates.go @@ -1,4 +1,4 @@ -package core +package hyper import ( "log"