str

package
v0.4.0-rc19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package str helps with strings

Index

Constants

View Source
const YAMLDisclaimer = `` /* 577-byte string literal not displayed */

YAMLDisclaimer text to be added on top of yaml files

Variables

This section is empty.

Functions

func Find

func Find(slice []string, val string) bool

Find a string in a slice of string. Return true when found else false

func FlattenMapStringString added in v0.1.2

func FlattenMapStringString(m map[string]string) string

FlattenMapStringString flatten a string string map into a string key1="value1", keyx="valuex",

func RevertSlash

func RevertSlash(txt string) string

RevertSlash replace slash / by back slash \

Types

This section is empty.

Jump to

Keyboard shortcuts

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