package
Version:
v1.3.1
Opens a new window with list of versions in this module.
Published: Jul 21, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Join[T any](arrs ...[]T) []T
Joins slices
func Map[T, R any](arr []T, fn func(elem T) R) []R
Maps slice elements using function
func New[T any](dim1, dim2 int) [][]T
Creates multi-dimensional array
func RemoveAt[T any](arr []T, index int) []T
* Removes element at specified index from slice
* Example: arr = utils.Remove(arr, 3)
*
func Repeat[T any](value T, count int) []T
Repeats value to array with specified length
Source Files
¶
Click to show internal directories.
Click to hide internal directories.