stringslice

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSlice

type StringSlice []string

func (StringSlice) Add

func (ss StringSlice) Add(e string) StringSlice

func (StringSlice) Contain

func (ss StringSlice) Contain(e string) bool

func (StringSlice) Equal

func (ss StringSlice) Equal(ss1 StringSlice) bool

func (StringSlice) Find

func (ss StringSlice) Find(s string) (indices []int)

Find returns a list of indices of ss which contain s. Find returns an empty slice if ss does not contain s.

Jump to

Keyboard shortcuts

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