package
Version:
v0.0.0-...-40627cf
Opens a new window with list of versions in this module.
Published: Jan 25, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package slice 封装golang切片类型,添加比较操作.
View Source
const (
CMPLarger = +1
CMPSmaller = -1
CMPSame = 0
)
Slice 是基于[]byte的切片类型,实现了其比较操作.
Compare 比较两个切片,返回两者比较结果.
TODO user defined comparator
Source Files
¶
Click to show internal directories.
Click to hide internal directories.