slice: add util
slice: add util

Akagi201/learning-golang,Akagi201/learning-golang,Akagi201/learning-golang,Akagi201/learning-golang,Akagi201/learning-golang,Akagi201/learning-golang,Akagi201/learning-golang