chore: address comments

This commit is contained in:
email
2022-02-05 11:43:25 +08:00
parent 226e9c156a
commit 925773dbd6
13 changed files with 45 additions and 39 deletions

View File

@ -22,7 +22,7 @@ type Server struct {
port int
}
func NewServer() *Server {
func NewServer(port int) *Server {
e := echo.New()
e.Debug = true
e.HideBanner = true
@ -49,7 +49,7 @@ func NewServer() *Server {
s := &Server{
e: e,
port: 8080,
port: port,
}
webhookGroup := e.Group("/h")