common 패키지 제거

This commit is contained in:
2023-05-22 10:53:58 +09:00
parent 84e09204c3
commit ca389dfb5c
3 changed files with 78 additions and 59 deletions

View File

@ -3,11 +3,11 @@ package server
import (
"io"
"net/http"
"path"
"reflect"
"runtime/debug"
"strings"
"repositories.action2quare.com/ayo/go-ayo/common"
"repositories.action2quare.com/ayo/go-ayo/logger"
)
@ -41,7 +41,7 @@ func NewHoustonHandler() HoustonServerWithHandler {
}
func (h *houstonHandler) RegisterHandlers(serveMux *http.ServeMux, prefix string) error {
serveMux.Handle(common.MakeHttpHandlerPattern(prefix, "houston"), h)
serveMux.Handle(path.Join(prefix, "houston"), h)
return nil
}