package main import ( "fmt" "log" "net/http" "os" endpoints "physick.ru/culture_exam/Endpoints" settings "physick.ru/culture_exam/Settings" ) func main() { settings.ReadSettings() endpoints.RegisterEndpoints() http.Handle("/", http.FileServer(http.FS(os.DirFS("./static")))) var _, _ = endpoints.GetAvaliableSongs() fmt.Println(settings.Current) var err = http.ListenAndServe(":6969", nil) if err != nil { log.Println(err.Error()) } }