一大坨垃圾正在前进
This commit is contained in:
13
srv/controller/user.go
Normal file
13
srv/controller/user.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
)
|
||||
|
||||
func Register(srv *echo.Echo) {
|
||||
srv.GET("/login", func(context echo.Context) error {
|
||||
return context.String(http.StatusOK, "Hello, World!")
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user