Jeffail/gabs

"Iterating objects" example fails

Closed this issue · 2 comments

Copy/Paste in go playground & "run" gives the following:

panic: interface conversion: interface {} is float64, not string

goroutine 1 [running]:
main.main()
	/tmp/sandbox698136282/prog.go:16 +0x2cd

Code example available here:
https://play.golang.org/p/Kto3AqMUAXm

Hey @Chinta, that is definitely a bug in the example code. Thanks for raising this.

Fixed: e47bd80