This is an exercise with GO that provides some data about astronomical bodies (sun, moon, planets). It uses go with internal calculations (sun & moon), and data provided by an API (astronomyapi.com through RapidAPI).
To run this code, you need to provide a RapidAPI key as environment variable RAPID_API_KEY.