Both are technically correct. There are subtle differences between the tenses, depending on what you want to say. The phrase "has gone" is in the Present Perfect tense, and "had gone" is in the Past...
Don and Phil Everly.
It's not always greener, but you keep lookin, you gonna find what (you think you) lookin' for.
She has just left.
Ben Affleck.