Initial hello world

This commit is contained in:
2024-10-27 17:54:12 +01:00
commit ddebbad1c8
12 changed files with 16057 additions and 0 deletions

11
application/server.go Normal file
View File

@@ -0,0 +1,11 @@
package application
import (
"net/http"
)
func SetupAppServer() {
fs := http.FileServer(http.Dir("./application/static"))
http.Handle("/static/", http.StripPrefix("/static/", fs))
http.HandleFunc("/", index)
}