refactor: rename lancetconstraints package name to constraints

This commit is contained in:
dudaodong committed 2023-12-16 19:29:06 +08:00
1 parent 0b976e9a4c
commit 80e48f06ca
16 files changed
+92 -92

No files matched your search

+2 -2
View File
@@ -44,9 +44,9 @@ MaxHeap是通过slice实现的二叉堆树,根节点的key既大于等于左
```go
type MaxHeap[T any] struct {
data []T
comparator lancetconstraints.Comparator
comparator constraints.Comparator
}
func NewMaxHeap[T any](comparator lancetconstraints.Comparator) *MaxHeap[T]
func NewMaxHeap[T any](comparator constraints.Comparator) *MaxHeap[T]
```
<b>示例:</b>