Don't feel bad. If I withheld my code every time I thought it was crappy, I would never let it out of my hands.
One suggestion, run SublimeLinter on your code.
Now, your question: The problem is, I don't think the "goto" panel has callbacks or any real way to access what it selects. It is designed with the purpose of "going to" ; I don't think it was designed to be used out of context.
I would personally ask jps if he could provide a method to retrieve goto anything results via the api without calling a goto panel, or ask if this already exists hidden somewhere. I just don't have enough experience with the api to tell you if it already exists, but I suspect it doesn't.