Moxitech-Websocket-Do/server/App/cmd/main.go

19 lines
285 B
Go
Raw Permalink Normal View History

2024-09-01 02:36:40 +07:00
package main
import (
"log"
"moxitech-zametki-server/internal/fiber"
"moxitech-zametki-server/internal/mongodb"
)
func main() {
_, err := mongodb.Connect()
if err != nil {
log.Fatalln(err)
}
fiberCtxThrowedError := fiber.SpawnFiberCtx()
log.Fatal(fiberCtxThrowedError)
}