Definitely looks like an ulcer. Generally, these things are caused by pseudo/aeromonas, and if you're seeing these, you may want to treat for flukes too, since the bacteria generally attack through the small wounds that the fluke parasites leave. I'd treat the wound with peroxide and neosporin (the cream not the oil), and since the infection is internal, you'll need to treat with either medicated food or injected antibiotics. Which ones however, I am not quite sure about...
Here's a great site for goldfish diseases and treatments:
http://weloveteaching.com/puregold/disease/disease.htm
Here's a great site for goldfish diseases and treatments:
http://weloveteaching.com/puregold/disease/disease.htm