18 lines
241 B
Go
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)
|
|
}
|