Hi Mike and thank you so much for your reply. Yes this was piece of code was program from a book but I decided to add much more functionality to it as a challenge but now
it is working well with normal behavior. As you said it is a game and the goal is to have the guess input matching with the random target number. . I added as you suggested
an extra line of code in case the guess and the target match. Thanks again for your help as nobody will help me yesterday I was forced to worked on it on my own, I guess
that's the way you learn

I need to mention that's my second program in go as I am a total beginner. I will post the final result again for the one who are starting go as I do
and could possibly learn from this example.