People always are saying that you have to code even if you get bored, just push through it or whatever. I dont know that thats true! Once your not coding for fun, your going to start to wonder why your coding at all. Your not coding to make money (This is untrue for some people obviously). Your not coding to be popular (I hope) and your not coding to do somthing important (Probably). I make a point to not let my self code when I dont want to, even if it means taking a week off.
Tell that to your boss...
It is very important that you push yourself to code as much as possible. Hopefully you like your hobby enough to push through any adversity instead of just taking long breaks or giving up.
(Also, "you're". Please.)