chore: format server code

This commit is contained in:
email
2022-02-18 22:21:10 +08:00
parent 6f3663cd96
commit 3874523e61
8 changed files with 36 additions and 12 deletions

View File

@ -14,6 +14,7 @@ func (s *Server) registerWebhookRoutes(g *echo.Group) {
g.GET("/test", func(c echo.Context) error {
return c.HTML(http.StatusOK, "<strong>Hello, World!</strong>")
})
g.POST("/:openId/memo", func(c echo.Context) error {
openId := c.Param("openId")
@ -47,6 +48,7 @@ func (s *Server) registerWebhookRoutes(g *echo.Group) {
return nil
})
g.GET("/:openId/memo", func(c echo.Context) error {
openId := c.Param("openId")