Hi Paulo,
Just FYI.
Next time that you have debugging, you can use fmt.Printf("%p", item). The
param %p will show the memory address value.
[]'s
Em terça-feira, 6 de dezembro de 2016 20:40:26 UTC-2, Paulo Coutinho
escreveu:
>
> Hi,
>
> In my project i have a slice of Healthcheck objects.
>
> O
No more problems.
The problem is with me that dont update the list to server app and remain
with the old list.
But thanks.
The project is updated with optimizations here:
https://github.com/prsolucoes/gohc
Thanks.
On Tuesday, December 6, 2016 at 8:40:26 PM UTC-2, Paulo Coutinho wrote:
>
>
Am Dienstag, 6. Dezember 2016 23:40:26 UTC+1 schrieb Paulo Coutinho:
>
> [...]
> Can anyone help me get the current object inside the slice on range?
>
Either: Do not copy hcList[i] (and use it directly).
Or: There is no problem as you are printing the address of the
pointer to your Healthcheck: