package
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Oct 14, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Multi[T any] struct {
LessFuncs []func(p1, p2 *T) bool
}
Multi is used to sort a slice of T using the list of LessFuncs, so you can order a table by different columns
func (ms *Multi[T]) Sort(changes []T)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.