Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E error
同样是内置的error类型,就能给变量使用
Functions ¶
func ReflectComparable ¶
func ReflectComparable(v interface{}) bool
func TypesComparable ¶
func TypesComparable() bool
Types ¶
type Set ¶
type Set[E comparable] []E // 可以用做类型参数的约束
Click to show internal directories.
Click to hide internal directories.