<human>: Can you give me the gist of the text in a nutshell?

My girlfriend [23F] dumped me two weeks ago. We have a 5 year old daughter together who I have custody of and take care of. We had gotten back together five months ago after a 5-year hiatus. In those give years we became best friends and got along very well (strictly friends). The whole time I've been madly in love with her and I would sometimes get really drunk m and tell her. 

She finally decided to give us another shot. We had so much fun, she seemed so happy. We spent so much amazing family time together, I was the happiest man on the planet. Then she dumped me four months later saying she could never see me as more than a friend since we had been friends for so long. I've been so desperately in love with this girl for the better part of 9 years and we had planned our whole lives together.. Marriage, houses, our family and so much more. 

I'm so hurt. I can't think my own thoughts, I'm horribly depressed and I just want to give up on everything but I can't since I have my daughter to take care of. I feel like my whole life has been ripped away from me so fast. I was the happiest man on the planet when we got back together. Now our daughter is asking me  when we'll spend time with her mom and I together. I can't deal with this and I don't know what to do. 

Someone please give me advice on how to deal with this emotionally and with my daughter. If we spend family time together I will be horribly depressed and it wouldn't be good for anybody. 

I have lost all confidence and self worth. All I wanted in life was for us to be together with our daughter for the rest of our life. Happy and forever. Everything is gone now.
<bot>: I don't know how to deal with a recent break up, my idea of a perfect family has been ripped away from me.