➜ _output/windows/yarr.exe -addr 0.0.0.0:7090 -db local.db
2021/11/06 21:07:37 main.go:90: using db file local.db
2021/11/06 21:07:37 main.go:137: starting server at http://0.0.0.0:7090
But this will probably break the build on other platforms. I'm new to Go so if you can suggest how can I structure the code so that this only affects Windows, I'd make the change.
This uses the module http://github.com/ffred/guitocons which fixes #80 and the exe can now output to Windows console.
But this will probably break the build on other platforms. I'm new to Go so if you can suggest how can I structure the code so that this only affects Windows, I'd make the change.