Re: [go-nuts] Re: text/template: cannot index from map[int32]string

2017-05-20 Thread Jon Calhoun
As a temporary fix you could create a custom function for when you are using maps with an int32 key. This is less than ideal but would work temporarily - https://play.golang.org/p/IOa_p4gxDB On Saturday, May 20, 2017 at 12:26:46 PM UTC-4, bup...@gmail.com wrote: > > I reported this as issue #204

Re: [go-nuts] Re: text/template: cannot index from map[int32]string

2017-05-20 Thread bupjae
I reported this as issue #20439. Thanks. By the way, I'm still finding how to workaround. 2017년 5월 21일 일요일 오전 1시 11분 26초 UTC+9, Ian Lance Taylor 님의 말: > On Sat, May 20, 2017 at 7:55 AM, > wrote: > > One additional question: may I report this as bu

Re: [go-nuts] Re: text/template: cannot index from map[int32]string

2017-05-20 Thread Ian Lance Taylor
On Sat, May 20, 2017 at 7:55 AM, wrote: > One additional question: may I report this as bug of golang? Yes. Thanks. Ian > 2017년 5월 20일 토요일 오후 11시 51분 56초 UTC+9, bup...@gmail.com 님의 말: >> >> Go Source: >> https://play.golang.org/p/dMKNy4pTnb >> >> Expected: >> >> [ ok] Element 0 is zero >> [ o

[go-nuts] Re: text/template: cannot index from map[int32]string

2017-05-20 Thread bupjae
One additional question: may I report this as bug of golang? 2017년 5월 20일 토요일 오후 11시 51분 56초 UTC+9, bup...@gmail.com 님의 말: > > Go Source: > https://play.golang.org/p/dMKNy4pTnb > > Expected: > > [ ok] Element 0 is zero > [ ok] Element 0 is zero > [ ok] Element 0 is zero > > Actual: > > [ ok] Eleme