matthewmueller/joy

Improve range support

Open

#19 创建于 2017年10月12日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (34 fork)github user discovery
compilerhelp wanted

仓库指标

Star
 (1,317 star)
PR 合并指标
 (PR 指标待抓取)

描述

// Range expression                              1st value          2nd value
// [x] array or slice  a  [n]E, *[n]E, or []E    index    i  int    a[i]       E
// [ ] string          s  string type            index    i  int    see below  rune
// [ ] map             m  map[K]V                key      k  K      m[k]       V
// [ ] channel         c  chan E, <-chan E       element  e  E
  • range over maps
  • range over strings
  • range over channels

贡献者指南