util

package
v0.0.0-...-34c5cda Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package util is for general purpose functions that can be useful for any package in the repo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReverseSlice

func ReverseSlice[T comparable](s []T) []T

ReverseSlice returns a slice of the same type with the elements in the reverse order. A new copy is returned and the backing array of the input 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