Thanks! Something to look forward to. On Mon, Feb 1, 2021 at 2:43 PM Axel Wagner <axel.wagner...@googlemail.com> wrote:
> Not yet, but probably an go 1.17: https://github.com/golang/go/issues/395 > > On Mon, Feb 1, 2021 at 1:38 PM Amit Lavon <amitlav...@gmail.com> wrote: > >> I know it's possible to create a slice variable from an array with the >> [:] syntax, and it points to the same underlying buffer. >> Can one do the opposite? Given a slice, create an array variable based on >> the same buffer? >> >> Amit >> >> -- >> 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/a469ec42-4197-4763-a155-ad64190ac996n%40googlegroups.com >> <https://groups.google.com/d/msgid/golang-nuts/a469ec42-4197-4763-a155-ad64190ac996n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/CAPTkDQVRdJrLnpYK1u9YWb%2BFHnFhM88qODJ1_Xe3%2BGn%2B4c75og%40mail.gmail.com.