xstrings

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 2 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

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