Do you realize this is a saltwater forum.....and goldfish are freshwater?
Anyway, goldfish actually like some salt….albeit not at the approximate 35% we keep our saltwater tanks at. I think I use to put 1 tablespoon per gallon in my goldfish tank, when I had one.
To your question, goldfish are pretty tough. There were times I’d do water changes and use tap water without ridding it of chlorine. But this is a start….use a de-chor on the water you put into the tank. If it is an actual tank with gravel and such, make sure you cycle the tank first before putting in the fish. Once cycled, that tank is good to go. Also include a filtering system on the tank because goldfish tend to be “dirty.”
I had four goldfish in a 75 gallon tank where they lived between 20 to 25 years. So it can be done.