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 is a binary heap tree implemented by slice, The key of the root node is
```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>Example:</b>