arrutil

package
v0.0.0-...-754e97a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package arrutil provides some util functions for array, slice

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reverse

func Reverse(ss []string)

Reverse string slice [site user info 0] -> [0 info user site]

func StringsRemove

func StringsRemove(ss []string, s string) []string

StringsRemove an value form an string slice

func StringsToInts

func StringsToInts(ss []string) (ints []int, err error)

StringsToInts string slice to int slice

func TrimStrings

func TrimStrings(ss []string, cutSet ...string) (ns []string)

TrimStrings trim string slice item.

Types

This section is empty.

Jump to

Keyboard shortcuts

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