18 lines
243 B
Go
18 lines
243 B
Go
|
|
package user
|
||
|
|
|
||
|
|
import (
|
||
|
|
"net/http"
|
||
|
|
|
||
|
|
"github.com/labstack/echo"
|
||
|
|
)
|
||
|
|
|
||
|
|
type Controller struct{}
|
||
|
|
|
||
|
|
func (Controller) GetLogin(ctx echo.Context) error {
|
||
|
|
return ctx.String(http.StatusOK, "success")
|
||
|
|
}
|
||
|
|
|
||
|
|
func New() *Controller {
|
||
|
|
return &Controller{}
|
||
|
|
}
|