Be going to is often used to talk about plans. This is common in an informal style. Note that going to emphasizes the idea of intention.
- We are going to buy a home. (= We intend to buy a home.)
- I am going to keep asking her out until she says ‘Yes’.
Be going to is also used to predict future events on the basis of present evidence.
- Look at the sky. It is going to rain. (There is present evidence. The sky is already black.)
Events outside people’s control
We can use be going to to make predictions about events that are outside people’s control.
- You are going to have an accident one of these days.
- It is going to snow before long.