slicer

package
v0.0.0-...-5948a14 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PureReverse

func PureReverse(s []int) []int

PureReverse reverses an array and returns a new copy

func RemoveDup

func RemoveDup(slice []string) []string

RemoveDup removes any duplication of strings that are side by side

func Reverse

func Reverse(s []int)

Reverse a slice of int

func ReverseP

func ReverseP(s *[6]int)

ReverseP reverse an array using a pointer

func RotateLeft

func RotateLeft(slice []int, numRot int) []int

RotateLeft rotates a slice n times provided by the second argument

Types

This section is empty.

Jump to

Keyboard shortcuts

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