echo만 쓰는 버릇하면 안될거 같아서 https://github.com/julienschmidt/httprouter 이걸 한번 건드려볼랬는데
라우터 경로에 와일드카드 중복이랑 regexp가 안된다.
gin에서 라우터로 저걸 쓰고 있어서 같은 문제가 있는 것 같다.
https://github.com/gin-gonic/gin/issues/1681
걍 echo나 계속 써야겠다.
practice-golang/hello-httprouter: Taste httprouter (github.com)
댓글 0