Open chrissnell opened 7 months ago
I think a more Go-like way to implement this would be to have the code work something like this:
element := planetelements.New(planet.Earth)
fmt.Println("semi-major axis:", element.Axis())
I see that Sonia has passed. Maybe someone else will take up this issue.
yields: