Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expand ¶
Expand replaces ${var} or $var in the string based on the mapping. Supports most Posix shell exapansions:
Default: ${param:-word} ${param-word}
Assign default: ${param:=word} ${param=word}
Error: ${param:?error} ${param?error}
Alternative: ${param:+word} ${param+word}
See: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
Types ¶
Click to show internal directories.
Click to hide internal directories.