18 lines
239 B
Go
18 lines
239 B
Go
package main
|
|
|
|
import (
|
|
"git.sp4ke.com/sp4ke/bit4sat/api"
|
|
"git.sp4ke.com/sp4ke/bit4sat/db"
|
|
"git.sp4ke.com/sp4ke/bit4sat/watchers"
|
|
)
|
|
|
|
func main() {
|
|
|
|
go watchers.WatchInvoice()
|
|
|
|
defer db.DB.Sql.Close()
|
|
|
|
api := api.NewAPI()
|
|
api.Run()
|
|
}
|