mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
- Change error messages - backend and update: changed files name to ticker.go - Update README, Makefile - Added nodemon - website: URL type now is database.URL - backend: Remove unused http info - Upgrade deps
21 lines
415 B
Go
21 lines
415 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.Ticker()
|
|
}
|