Go is garbage collected. I don't think that's a necessary or sufficient criteria to call something a scripting language, but it makes sense why people might consider it such.
In fact if one was to group Go with other languages, those two would make sensible comparisons