package
Version:
v1.22.41
Opens a new window with list of versions in this module.
Published: Dec 24, 2025
License: BSD-3-Clause
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
¶
Contains checks if slice contains element
func Filter[T any](slice []T, predicate func(T) bool) []T
Filter filters a slice
func Sort[T any](slice []T, less func(i, j int) bool)
Sort sorts a slice
func SortByID[T interface{ ID() string }](slice []T)
SortByID sorts by ID
Source Files
¶
Directories
¶
Package codec provides encoding/decoding for consensus types
|
Package codec provides encoding/decoding for consensus types |
|
|
|
|
|
|
timer
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.