Re: [go-nuts] Re: Give us const arrays please :)

2021-04-12 Thread Henry

Thanks for the information. I did not know that. It's good to learn 
something new. :)
On Monday, April 12, 2021 at 7:17:05 PM UTC+7 wagner riffel wrote:

> On Mon Apr 12, 2021 at 5:04 AM -03, Henry wrote:
> > The example you gave is actually a map[rune]bool in Go, and not an
> > array. I
>
> It's a Go array in form of a composite literal, see
> https://golang.org/ref/spec#Composite_literals
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/176fad1a-38a8-4e3f-ae0e-f2c435cb1688n%40googlegroups.com.


Re: [go-nuts] Re: Give us const arrays please :)

2021-04-12 Thread 'wagner riffel' via golang-nuts
On Mon Apr 12, 2021 at 5:04 AM -03, Henry wrote:
> The example you gave is actually a map[rune]bool in Go, and not an
> array. I

It's a Go array in form of a composite literal, see
https://golang.org/ref/spec#Composite_literals

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CALQL1TE71G0.1BJM6NT7DTW7W%40pampas.