basic sample done
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"gitea.sitodosi.com/betology/got/handler"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/labstack/echo/v4"
|
||||
)
|
||||
|
||||
func main() {
|
||||
app := echo.New()
|
||||
|
||||
userHandler := handler.UserHandler{}
|
||||
app.GET("/user", userHandler.HandlerUserShow())
|
||||
app.GET("/user", userHandler.HandlerUserShow)
|
||||
|
||||
app.Start(:3000)
|
||||
app.Start(":3000")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user