How to cope with girlfriend moving away?

Right now I'm an emotional wreck due to today my girlfriend sent me a text say we need to talk. Turns out she is moving back to her home town, to attend school, and to be with her grandma cause her grandpa isn't doing to good. How can I get over this. Thanks
Updates
+1 y
We've been together for 8 mos. longest relationship I've had. Plus a good bond
Updates
+1 y
Text her today asking the main reason for breaking up, and she said the main reason why, is because I don't spend time with her. She works late shifts, while I work days, so of course I can't spend time with her. Plus When I ask her if she wants to do anything she says I gotta work. Also we made plans one night to double date movie night with her best friend and new boyfriend, and her friend didn't want to. Well if her friend didn't want to go then nor would she (you and I could have gone)
How to cope with girlfriend moving away?
Post Opinion