package
module
Version:
v0.0.0-...-65c3dc0
Opens a new window with list of versions in this module.
Published: Sep 12, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
swort
A wrapper library for the sort package that is easy to use and supports generics and immutability.
Author
moznion (moznion@mail.moznion.net)
Documentation
¶
func MakeSlice[IT any, ST cmp.Ordered](items []IT, sortValueExtractor func(item IT) ST) *Slice[IT, ST]
func (s *Slice[IT, ST]) SearchFromOriginal(item IT) (int, bool)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.