mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
- Added Memory stats to API status - Changed Backend Start file and function name - Changed GIN Server panic msg - Upgrade deps
20 lines
414 B
Go
20 lines
414 B
Go
package main
|
|
|
|
import (
|
|
"gitlab.com/gaming0skar123/go/pingbot/backend"
|
|
"gitlab.com/gaming0skar123/go/pingbot/common"
|
|
"gitlab.com/gaming0skar123/go/pingbot/config"
|
|
"gitlab.com/gaming0skar123/go/pingbot/database"
|
|
"gitlab.com/gaming0skar123/go/pingbot/website"
|
|
)
|
|
|
|
var log = common.Log
|
|
|
|
func main() {
|
|
log.Info("You're using verion: ", config.Version)
|
|
|
|
database.Connect()
|
|
|
|
go website.Server()
|
|
backend.Start()
|
|
}
|