package main import ( "embed" "github.com/labstack/echo/v4" ) var ( //go:embed all:frontend/dist dist embed.FS //go:embed frontend/dist/index.html indexHTML embed.FS distDirFS = echo.MustSubFS(dist, "frontend/dist") distIndexHtml = echo.MustSubFS(indexHTML, "frontend/dist") )