xstrings

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindLongest

func FindLongest(ss []string) int

FindLongest finds the length of longest string in slice.

func RandASCIILetters added in v0.17.0

func RandASCIILetters(n int) string

RandASCIILetters generates random string from ascii letters.

func SliceContains

func SliceContains(a []string, e string) bool

SliceContains returns true if slice a contains e element, false otherwise.

func SliceIndex

func SliceIndex(a []string, e string) int

SliceIndex returns the index e in a, return -1 if not found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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