summaryrefslogtreecommitdiff
path: root/cmd/redq/main.go
blob: 1f153d30c2233fab2c9c274c71058462a61eab63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"log"

	redqapi "sinanmohd.com/redq/api"
	redqdb "sinanmohd.com/redq/db"
)

func main() {
	db, err := redqdb.NewSafeDB()
	if err != nil {
		log.Fatal(err)
	}

	redqapi.Run(db)
}