mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-19 00:11:16 +00:00
.. | ||
parse | ||
eval.go | ||
funcs.go | ||
LICENSE | ||
match.go | ||
README | ||
template.go |
Go package for expanding variables in a string using ${var} syntax. Includes support for bash string replacement functions. Documentation: http://godoc.org/github.com/drone/envsubst Supported Functions: ${var^} ${var^^} ${var,} ${var,,} ${var:position} ${var:position:length} ${var#substring} ${var##substring} ${var%substring} ${var%%substring} ${var/substring/replacement} ${var//substring/replacement} ${var/#substring/replacement} ${var/%substring/replacement} ${#var} ${var=default} ${var:=default} ${var:-default} Unsupported Functions: ${var-default} ${var+default} ${var:?default} ${var:+default}