func main() { defer nazalog.Sync() confFilename := parseFlag() lals := logic.NewLalServer(func(option *logic.Option) { option.ConfFilename = confFilename }) err := lals.RunLoop() nazalog.Infof("server manager done. err=%+v", err) }