Yes, essential vitamins and all the good stuff goldies need are in the flakes/pellets. I feed my goldies, two pellets each every day and a couple of flakes if I feel sorry for them

.
Then once a week I feed them exclusively peas, as a treat, and too help their digestive track. Then as an extra treat, I tend to experiment with food one day, and give them banana, or lettuce, or salmon, or spinach, and see what they like. That way they are getting a varied diet. I should really feed them live food once in a while, but I cannot bring myself to get it for them

eww...

Hope this helped! Basically to sum up they need :
1) a varied diet
2) a good supply of essential food from either pellets or flakes