2021-04-02 18:53:25 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-04-06 17:11:10 +02:00
|
|
|
"git.fanyx.xyz/fanyx/goufy/pkg/config"
|
2021-04-08 23:02:56 +02:00
|
|
|
"git.fanyx.xyz/fanyx/goufy/pkg/gbxremote"
|
2021-04-02 18:53:25 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2021-04-07 16:14:15 +02:00
|
|
|
// initiate config
|
|
|
|
var conf config.AppConfig
|
|
|
|
conf.ReadConfig()
|
|
|
|
|
2021-04-08 23:02:56 +02:00
|
|
|
//fmt.Printf("%#v\n", conf)
|
|
|
|
|
|
|
|
// initial connection to trackmania server
|
|
|
|
var client gbxremote.GbxClient
|
2021-04-07 16:14:15 +02:00
|
|
|
client.Connect(conf)
|
2021-04-02 18:53:25 +02:00
|
|
|
|
|
|
|
}
|