Breastfeeding sucks

Domo
Starting to think I need a little encouragement. I'm about two seconds a way from giving up and going to formula. I feel as though there's something that I'm not doing right it's like I'm always constantly breastfeeding which means I don't get any sleep. The only way he sleeps is if he's on my nipple and then the moment I put him down he's up again. I feel myself going into a depression where I'm not really liking my child right now, I love him I just honesty feel like I need a break. I've been told babies on formula tend to sleep longer and I'm thinking maybe that's my best bet.