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: > > Hi, > > In my project i have a slice of Healthcheck objects. > > On each second i make range on it healthcheck list to process. > > But when i get the object inside range, it change the pointer address, it > makes a copy of the healthcheck, what is a problem to me. > > Can anyone help me get the current object inside the slice on range? > > Example: > https://play.golang.org/p/1eUPyU2Mxv > > Thanks. > -- 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.