19 lines
285 B
Go
19 lines
285 B
Go
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)
|
|
}
|