chunks

package
v0.0.114 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Overview

Package chunks provides functions for dividing a one-dimensional slice into several pieces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitInt64 added in v0.0.112

func SplitInt64(in []int64, limit int) [][]int64

SplitInt64 dividing a one-dimensional slice []int64 into several pieces

func SplitStr added in v0.0.112

func SplitStr(s string, limit int) []string

SplitStr dividing a string into several pieces

Types

This section is empty.

Jump to

Keyboard shortcuts

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