In my humble opinion, being monocultural as a developer is a path to obsolescence. Be T-shaped: know your specialty really well, but also a bunch of stuff more superficially.
If you have a little hands on experience with Go on top of your Java expertise, you are imo more valuable to your employer. They may even be mid transition from Java to Go, where you would be very useful indeed.
Besides, it's just healthy to keep learning new things.