stringutil

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dedent

func Dedent(str string) string

Dedent removes leading whitespace from every line, evenly

func SingleQuote

func SingleQuote(str string) string

SingleQuote makes the given string into a single quoted entity for a shell If the string is simple, then it is returned as-is. If the string contains single quotes ('), then it its quotes are escaped.

Types

This section is empty.

Jump to

Keyboard shortcuts

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