From b63e3ecbf58bc8ec1b0754172988fc8aba964716 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 31 Oct 2022 01:46:55 +0400 Subject: [PATCH] http.go server moved in an internal dir. --- cmd/dwelling-files/main.go | 2 +- internal/handlers/handlers.go | 2 +- {pkg => internal}/server/http.go | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {pkg => internal}/server/http.go (100%) diff --git a/cmd/dwelling-files/main.go b/cmd/dwelling-files/main.go index dddd0e6..7b61d45 100644 --- a/cmd/dwelling-files/main.go +++ b/cmd/dwelling-files/main.go @@ -2,7 +2,7 @@ package main import ( "dwelling-files/internal/handlers" - "dwelling-files/pkg/server" + "dwelling-files/internal/server" "dwelling-files/web" "flag" "fmt" diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 384efcf..9248fc6 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -1,8 +1,8 @@ package handlers import ( + "dwelling-files/internal/server" "dwelling-files/pkg/files" - "dwelling-files/pkg/server" "dwelling-files/pkg/utils" "dwelling-files/web" "log" diff --git a/pkg/server/http.go b/internal/server/http.go similarity index 100% rename from pkg/server/http.go rename to internal/server/http.go