You can, which makes me wonder why they added the range-over-int functionality when it could have been a function in the proposed iter package:
for x := range iter.N(10) { ... } for x := range iter.N(10) { ... }