On Thursday, December 26, 2019 at 4:33:23 AM UTC+1, burak serdar wrote: > > On Wed, Dec 25, 2019 at 8:05 PM Gert <gert....@gmail.com <javascript:>> > wrote: > > > > Is there a cleaner way to write the > > > > s:= *t > > *t = s[i+1:] > > > > part? > > > > was hoping for something like *t = *t[i+1:] > > Indexing comes before indirection, so use parens: > > *t=(*t)[i+1:] > > 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f1aaa213-a07f-4f04-aaf8-4625f1b642f2%40googlegroups.com.