Add fori snippet for Go