You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
308 B
17 lines
308 B
package main
|
|
|
|
import (
|
|
"codeforcesbot"
|
|
"math/rand"
|
|
"net/http"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
rand.Seed(time.Now().Unix())
|
|
codeforcesbot.SqlOpen()
|
|
codeforcesbot.InitializeRouter()
|
|
codeforcesbot.InitializeTimersAndTickers()
|
|
http.HandleFunc("/", codeforcesbot.MainHandler)
|
|
http.ListenAndServe(":5701", nil)
|
|
} |