Re: [go-nuts] Re: iota with gaps

2017-05-03 Thread mhhcbon
indeed, totally misleading for me, https://play.golang.org/p/pMbeLffTnS On Wednesday, May 3, 2017 at 1:05:35 PM UTC+2, rog wrote: > > On 3 May 2017 at 09:36, Egon > wrote: > > On Wednesday, 3 May 2017 07:34:16 UTC+3, Tong Sun wrote: > >> > >> Hi, > >> > >> How to use `iota` to define consts

Re: [go-nuts] Re: iota with gaps

2017-05-03 Thread roger peppe
On 3 May 2017 at 09:36, Egon wrote: > On Wednesday, 3 May 2017 07:34:16 UTC+3, Tong Sun wrote: >> >> Hi, >> >> How to use `iota` to define consts that have gap(s) in them? >> >> E.g., If my consts are, >> >> 1, 2, 3, 7, 8, 9 >> >> How to use iota to define them? Thx. > > > You don't have to use io

[go-nuts] Re: iota with gaps

2017-05-03 Thread Egon
On Wednesday, 3 May 2017 07:34:16 UTC+3, Tong Sun wrote: > > Hi, > > How to use `iota` to define consts that have gap(s) in them? > > E.g., If my consts are, > > 1, 2, 3, 7, 8, 9 > > How to use iota to define them? Thx. > You don't have to use iota. If these are predefined constants, such as a