From 5fd81183f54662fdf08549c0d635e80166c62fe9 Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Sat, 6 Dec 2025 12:05:43 +0500 Subject: initial endpoints --- main.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go new file mode 100644 index 0000000..72e796f --- /dev/null +++ b/main.go @@ -0,0 +1,19 @@ +package main + +import ( + "fmt" + "net/http" + "os" + + endpoints "physick.ru/culture_exam/Endpoints" + settings "physick.ru/culture_exam/Settings" +) + +func main() { + settings.ReadSettings() + fmt.Println(settings.Current) + endpoints.RegisterEndpoints() + http.Handle("/", http.FileServer(http.FS(os.DirFS("./static")))) + + http.ListenAndServe(":6969", nil) +} -- cgit v1.3