matthewmueller/joy

Improve range support

Open

#19 aberto em 12 de out. de 2017

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Go (34 forks)github user discovery
compilerhelp wanted

Métricas do repositório

Stars
 (1.317 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

// 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

Guia do colaborador