mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 12:20:33 +00:00
75513575be
* store dependency's in git * since we vendor ... rm tech-depts * aad make target 'vendor' to update vendor folder (manual task) |
||
---|---|---|
.. | ||
parse | ||
path | ||
.drone.yml | ||
.gitignore | ||
eval.go | ||
funcs.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
readme.md | ||
template.go |
envsubst
envsubst
is a Go package for expanding variables in a string using ${var}
syntax.
Includes support for bash string replacement functions.
Documentation
Documentation can be found on GoDoc.
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}