mapserver/main.go
2019-01-04 13:02:17 +01:00

18 lines
241 B
Go

package main
import (
"mapserver/params"
"mapserver/worldconfig"
"fmt"
)
func main() {
p := params.Parse()
if p.Help {
return
}
worldcfg := worldconfig.Parse(p.Worlddir + "world.mt")
fmt.Println("Backend: ", worldcfg.Backend)
}