20 lines
328 B
Go
20 lines
328 B
Go
package main
|
|
|
|
import (
|
|
"git.fanyx.xyz/fanyx/goufy/pkg/config"
|
|
"git.fanyx.xyz/fanyx/goufy/pkg/gbxremote"
|
|
)
|
|
|
|
func main() {
|
|
// initiate config
|
|
var conf = config.LoadDefaults()
|
|
conf.ReadConfig()
|
|
|
|
//fmt.Printf("%#v\n", conf)
|
|
|
|
// initial connection to trackmania server
|
|
var client gbxremote.GbxClient
|
|
client.Connect(conf)
|
|
|
|
}
|