//
pkg.gl
Category
github.com/sandwich-go/boost
xslice
package
1.3.48
Repository:
https://github.com/sandwich-go/boost.git
Documentation:
pkg.go.dev
Overview
Dependencies
3
Dependents
7
#
README
xslice
切片辅助函数
切片是否包含某个元素
切片不存在某个元素则添加
去重
去空
遍历切片
例子
fmt.Println(Uint8sRemoveRepeated([]uint8{1, 2, 1, 2}))
Output:
[1 2]