If you want my two cents - your daughter is going to have lots of people in her life. Grandparents, aunts, uncles, teachers, mentors, coaches, family friends, whatever.
You are her only father. Nothing can change that. Have that relationship with her.
When I say give yourself time to adjust - I mean, to being a single parent. Yeah, I depended on my wife for a lot with the kids. After all, you work as a team. She'd plan stuff for us to do, etc. When it's just me, there's a hole there I need to fill. But yeah, I have them at my place, I get them fed, I take them out for stuff to do, I play games with them and spend time with them. I may actually be turning into a better father.
But it's not easy. Feels like you're doing it alone, and it's a change.
I've felt weak and hopeless too. But I'm not. And neither are you. Find your strength. Like Lotus says, if you need to, see your doctor, see a counciler, whatever you need to do. I've done those things. You will find your way.