strings

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(vals []string, s string) bool

Contains is a helper function to check if a string exists in a slice

func Filter

func Filter(vals []string, s string) []string

Filter filters values in a slice

func GenerateRandomString

func GenerateRandomString(length int64) string

GenerateRandomString returns random string with a given length

func GetPermalink(baseURL string, relLink string) string

GetPermalink todo

func MapValues

func MapValues(m map[string]interface{}) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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