Rust when performance is critical, type safety is important, work is low-level, or the project is expected to be big or long-lasting.
Go for easy, cross-platform "scripting": standard library does most of what is needed. Super-fast build. Easy deployment with just a binary. Can even embed files if needed.