From 51555f4d21292b20be6e711772090a4eba03c772 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Thu, 19 Oct 2023 18:05:16 +0200 Subject: [PATCH] add js and css files --- server.go | 1 + index.html => static/index.html | 1 + static/index.js | 0 static/style.css | 0 4 files changed, 2 insertions(+) rename index.html => static/index.html (98%) create mode 100644 static/index.js create mode 100644 static/style.css diff --git a/server.go b/server.go index 1c8e0b1..c843fc3 100644 --- a/server.go +++ b/server.go @@ -8,6 +8,7 @@ import ( func main() { e := echo.New() + e.Static("/", "static") e.GET("/", func(c echo.Context) error { return c.String(http.StatusOK, "Hello, World!") }) diff --git a/index.html b/static/index.html similarity index 98% rename from index.html rename to static/index.html index f3bc292..d734912 100644 --- a/index.html +++ b/static/index.html @@ -133,6 +133,7 @@ + diff --git a/static/index.js b/static/index.js new file mode 100644 index 0000000..e69de29 diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..e69de29