basic sample done

This commit is contained in:
Beto
2024-03-03 20:29:43 -06:00
parent b18b316775
commit 90c76a12af
6 changed files with 55 additions and 6 deletions

View File

@@ -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")
}