17 lines
257 B
Go
17 lines
257 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
func main() {
|
|
e := echo.New()
|
|
e.Static("/", "static")
|
|
e.GET("/", func(c echo.Context) error {
|
|
return c.String(http.StatusOK, "Hello, World!")
|
|
})
|
|
e.Logger.Fatal(e.Start(":1323"))
|
|
}
|