There appears to be an issue with how the software handles generics in Go versions past 1.22.x, particularly in terms of interfacing with the extsort library. The following build error comes up, when attempting to use a later version. This error occurs irrespective of the version of extsort used.
`
command\sync.go:372:38: cannot use extsort.New(filteredSrcObjectChannel, storage.FromBytes, storage.Less, extsortConfig) (value of type <-chan extsort.SortType) as chan extsort.SortType value in assignment
command\sync.go:419:41: cannot use extsort.New(filteredDstObjectChannel, storage.FromBytes, storage.Less, extsortConfig) (value of type <-chan extsort.SortType) as chan extsort.SortType value in assignment
`
There appears to be an issue with how the software handles generics in Go versions past 1.22.x, particularly in terms of interfacing with the extsort library. The following build error comes up, when attempting to use a later version. This error occurs irrespective of the version of extsort used.
`
command\sync.go:372:38: cannot use extsort.New(filteredSrcObjectChannel, storage.FromBytes, storage.Less, extsortConfig) (value of type <-chan extsort.SortType) as chan extsort.SortType value in assignment
command\sync.go:419:41: cannot use extsort.New(filteredDstObjectChannel, storage.FromBytes, storage.Less, extsortConfig) (value of type <-chan extsort.SortType) as chan extsort.SortType value in assignment
`