arrayutils

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Range

func Range(args ...int) []int

[min], max, [step]

func SplitStrings added in v0.0.7

func SplitStrings(array []string, size int) [][]string

Parse string list to substrings

e.g. if size is 2:

["a" "b" "c"]         -> ["a" "b"] ["c"]
["a" "b" "c" "d"]     -> ["a" "b"] ["c" "d"]
["a" "b" "c" "d" "e"] -> ["a" "b"] ["c" "d"] ["e"]

Types

This section is empty.

Jump to

Keyboard shortcuts

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