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

18
main.go Normal file
View File

@@ -0,0 +1,18 @@
package main
import (
"log"
"net/http"
"risklet/application"
"risklet/db"
)
func main() {
db.InitDB()
application.SetupAppServer()
log.Print("Listening on :3000....")
err := http.ListenAndServe(":3000", nil)
if err != nil {
log.Fatal(err)
}
}