Skip to content

Commit

Permalink
add replace template function
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Dementiev committed Dec 2, 2019
1 parent 1ceb81c commit 2c72255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ssm/transformations/template_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var funcMap = template.FuncMap{
"url_scheme": URLScheme,
"url_user": URLUser,
"trim_prefix": strings.TrimPrefix,
"replace": strings.Replace,
}

// URLUser extracts user from the URL or returns "" if it's not set
Expand Down

0 comments on commit 2c72255

Please sign in to comment.