a struct must have a `next()` method to be an iterator

前端 未结 0 1002
庸人自扰
庸人自扰 2021-01-21 15:05

I get this error in vlang:

a struct must have a next() method to be an iterator

struct Items {
    item []Item
}

struct Item {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题