McGoldrick said "I've got to the age where money isn't everything.
"Happiness is a massive part of family and it's something I'm trying to teach my kids. How can I teach that to my kids and not practise it myself?
"I didn't want to look back in 10 years’ time and say I had a chance to play for Notts County but I turned it down for a few more bob somewhere else. It's a great move for me, for my football career.
“Take away all the other stuff that comes with it and it's where I want to be playing in terms of my future.
"I played Premier League, Championship and League One and scored goals in every one of them, so I feel like I bring a lot of experience to the team.
"I always had it at the back of my mind that I want to finish here, I haven't come here as a retirement home. I've come here to play and play as many games as I can.
“The dream is to play for the next couple of years, be part of the team, be successful and you never know, maybe take the club to another division.
"I also want to go into coaching in the future so learning from Luke Williams I can gain many things. Hopefully, I can coach at some point at this football club."