That sounds like it could be eggs, if you want the eggs to hatch and want to keep the fry you should give them cover (plants etc are good) or move the adults to another tank.
When the goldfish poop is long and stringy the fish is stressed , Their poop should be short and firm. You should test their water to make sure it is ok.