[#38] added lint and used the lint suggestions

This commit is contained in:
Valley authored and GitHub committed 2022-07-09 17:17:41 +03:00
1 parent dfd9528847
commit d64fbf9011
36 files changed
+110 -65

No files matched your search

+2 -2
View File
@@ -13,8 +13,8 @@ var distDir embed.FS
//go:embed dist/index.html
var indexHTML embed.FS
// DistDirFS contains the embeded dist directory files (without the "dist" prefix)
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
var DistDirFS = echo.MustSubFS(distDir, "dist")
// DistIndexHTML contains the embeded dist/index.html file (without the "dist" prefix)
// DistIndexHTML contains the embedded dist/index.html file (without the "dist" prefix)
var DistIndexHTML = echo.MustSubFS(indexHTML, "dist")