One thing that I could add to the discussion is that when writing the reported speech, the general rule is that you move one step in the past in the reported speech.
go changes to went and went to had gone:
go ---- went
went ---- had gone
examples:
Direct Speech: "He goes to school everyday," she said.
Reported speech: She said that he went to school everyday.
Add to this the fact that if the action (here going to school) is still true in the present, the reported speech could be in the present as well. Thus, we can say the following:
Reproted Speech: She said that he goes to school everday. (going to school is still true today).
Summary of the Reported Speech:
Always change the verbs one step in the past. It is O.K. if you use the present tense or the future tense (will or be going to) when the action can be true of the present or future.
"He is going to go to school tomorrow," she said.
She said he was going to school tomorrow.
She said he is giong to go to school tomorrow.
I hope I have added some to the discussion of reported speech.