I agree with everything that has already been said. With goldfish, plants are experimentation. You may find your fish totally ignore them and you can keep anything you want, they may have a taste for very particular plants, or they may attempt to eat everything, it all depends on the personality of the fish. But I think most goldfish fall into the 'ignore the plants' or 'enjoy tasting very specific plants' category. There are very few goldfish keepers that I know who have had fish that attempt to eat every plant.
You really can't go wrong with anubias and java fern. Swords and crypts are also great choices, along with valisneria, water sprite, water wisteria, hygrophila corymbosa, even ludwigia. I would just get the plants you like and try them out
My fish have never attempted to eat plants. My current plant list includes blyxa japonica, rotala wallichi, rotala nanjenshan, rotala indica, ludwigia repens, ludwigia atlantis, erios parkeri, staurogyne repens, star grass, water sprite, a couple small swords, and limnophila aquatica. They do uproot them sometimes, so stem plants can be a little tricky until their root system gets established but it is possible to keep a variety of plants with goldfish.