Many thanks to all of you, I suspected it was related to the copy made
while dereferencing the pointer but I didn't know that the runtime also
stores a copy of the pointer, It is not explicitly stated in the
documentation.
El viernes, 14 de abril de 2017, 2:11:41 (UTC-3), Fabián Inostroza escri
Hi Fabián,
The reason that this isn't working is because time.Ticker contains a
runtimeTimer field:
r: runtimeTimer{
when: when(d),
period: int64(d),
f: sendTime,
arg:c,
},
This corresponds with a struct defined in runtime:
// Package time