AppendVector:a=append(a,b...)Copy:b=make([]T,len(a))copy(b,a)Cut:a=append(a[:i],a[j:]...)Delete:a=append(a[:i],a[i+1:]...)// or
a=a[:i+copy(a[i:],a[i+1:])]Deletewithoutpreservingorder:a[i],a=a[len(a)-1],a[:len(a)-1]github.com/bradfitz/slicefuncSort(sliceinterface{},lessfunc(i,jint)bool)