1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package main
import (
"os"
"yats-server/config"
"yats-server/db"
)
func main() {
configuration := config.GetConfig(os.Getenv("HOME") + "/.yats.json")
db.Session = db.InitializeDb(configuration)
go MaintenanceThread(configuration)
RestService(configuration)
}
|