18 lines
300 B
Go
18 lines
300 B
Go
package main
|
|
|
|
import (
|
|
"github.com/TicketsBot/GoPanel/app/http"
|
|
"github.com/TicketsBot/GoPanel/config"
|
|
"github.com/TicketsBot/GoPanel/database"
|
|
"math/rand"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
rand.Seed(time.Now().UnixNano() % 3497)
|
|
|
|
config.LoadConfig()
|
|
database.ConnectToDatabase()
|
|
http.StartServer()
|
|
}
|