Going to Future Tense

GOING TO FUTURE TENSE
It is sometimes very confusing to decide when to use WILL and when to use BE GOING TO when we talk about the future. Both refer to the future and there is a slight difference between the two use.
If we say, "I am going to do something" we mean that "we have decided to to something or my intention is to do it"
USE OF GOING TO
1. Prior Plan
We use GOING TO when we have already decided or we INTEND to do something in the future.
They're going to move to Antalya when they retire. (They have already bought a house there.)
I'm going to start working in another company next week. (I left my old company and signed with a new one.)
2. Evidence
We use GOING TO when there are definite signs that something is going to happen.
Look at those black clouds. I think it is going to rain.
I feel terrible. I think I am going to be sick.
3. About to happen
We use GOING TO when we see that something is about to happen.
Get back! The bomb is going to explode.
Look at the child! He is walking on a thin wall. He is going to fall.
4. Predictions
We can use both WILL and GOING TO when we want to express the idea of a general prediction about the future. Predictions are guesses about what might happen in the future. In "prediction" sentences there is usually no difference in meaning between the use of WILL or GOING TO.
The year 2222 will be a very interesting year.
The year 2222 is going to be a very interesting year.
Tayyip Erdogan will be the next President.
Tayyip Erdogan is going to be the next President.