It's very simple to do that: https://play.golang.org/p/1i7pI2OXmej
On Sun, Dec 1, 2019 at 8:22 AM Vital Nabokov <nabokov....@gmail.com> wrote: > Разбить массив чисел на два массива? > Split an array of numbers into two arrays? > > -- > 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/dc7702b6-9b12-4e2a-9295-78e821836ee5%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/dc7702b6-9b12-4e2a-9295-78e821836ee5%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/CA%2Bv29LvDdnipcTmp2_n9Lzbx0rob5JKnFgvuv93r-AJvwsMnAg%40mail.gmail.com.