I read the Wikipedia article on the Goodness of fit(GOF) and it explains GOF as
The goodness of fit of a statistical model describes how well it fits a set of observations. Measures of goodness of fit typically summarize the discrepancy between observed values and the values expected under the model in question.
I look at the description and I think that the cross-validation does the same thing as GOF. But I never heard of anyone describing the cross-validation as the GOF test.
Could cross-validation be considered as a GOF test and if it's not, what is the reason?