All plants are good because they take up nitrogen and provide a nice environment for your fish. However, there are many that are also good for their diet because goldies love to eat plants
The hardiest plant I have ever had in my goldfish tank is the Java fern. My fish don't eat it and it grows great with low/moderate lighting. Hornwort was also great because it grew really fast but produced a lot of debris. Anubias are also hardy but large golfish can break the leaves . Other members will give you more recomendations!