jelsort

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package jelsort provides custom sorting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func By

func By[E any](items []E, lt func(left E, right E) bool) []E

By takes the items and uses the provided function to sort the list. The function should return true if left is less than (comes before) right.

items will not be modified.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL