YES We have a winner!
I really did not see that! Regards, Chris Op zaterdag 23 september 2017 18:32:25 UTC+2 schreef Jakob Borg: > > On 23 Sep 2017, at 15:27, Chris Polderman <chris.p...@gmail.com > <javascript:>> wrote: > > > > func (hue *HueBridge) pollSensors(sensors *sensors.Sensors) { > > var previousSensorInfo map[int]sensors.Sensor = > make(map[int]sensors.Sensor) > > In your function declaration, you're declaring a parameter "sensors" of > the type *sensors.Sensors. This shadows the *package* also called "sensors" > inside the function. > > //jb -- 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. For more options, visit https://groups.google.com/d/optout.