mirror of
https://github.com/duke-git/lancet.git
synced 2025-10-05 15:36:52 +08:00
upgrade go module v2
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// Package algorithm contain some basic algorithm functions. eg. sort, search
|
||||
package algorithm
|
||||
|
||||
import "github.com/duke-git/lancet/lancetconstraints"
|
||||
import "github.com/duke-git/lancet/v2/lancetconstraints"
|
||||
|
||||
// BubbleSort use bubble to sort slice.
|
||||
func BubbleSort[T any](slice []T, comparator lancetconstraints.Comparator) []T {
|
||||
|
Reference in New Issue
Block a user