mirror of
https://github.com/MedzikUser/go-cdn
synced 2024-08-15 03:19:36 +00:00
- Added github workflows and dependabot - Added goreleaser - The Automatic Update system has been changed - Changed DB connect from init to Connect()
20 lines
392 B
Go
20 lines
392 B
Go
package main
|
|
|
|
import (
|
|
"gitlab.com/gaming0skar123/go/cdn/common"
|
|
"gitlab.com/gaming0skar123/go/cdn/config"
|
|
"gitlab.com/gaming0skar123/go/cdn/database"
|
|
"gitlab.com/gaming0skar123/go/cdn/discord"
|
|
"gitlab.com/gaming0skar123/go/cdn/website"
|
|
)
|
|
|
|
var log = common.Log
|
|
|
|
func main() {
|
|
log.Info("You're using verion: ", config.Version)
|
|
|
|
database.Connect()
|
|
|
|
go website.Server()
|
|
discord.Bot()
|
|
}
|