Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing template strings and strconcat function #122

Merged
merged 3 commits into from
Sep 4, 2020

Conversation

jeroenrinzema
Copy link
Contributor

This PR introduces the ability to define static strings inside a template ({{ }}). This feature allows for the passing of static values in functions.

{{ strconcat('Bearer ', input:token ) }}

@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2020

Codecov Report

Merging #122 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
+ Coverage   86.64%   86.67%   +0.03%     
==========================================
  Files          89       89              
  Lines        5144     5157      +13     
==========================================
+ Hits         4457     4470      +13     
  Misses        426      426              
  Partials      261      261              
Impacted Files Coverage Δ
pkg/lookup/lookup.go 89.67% <100.00%> (+0.27%) ⬆️
pkg/specs/template/template.go 100.00% <100.00%> (ø)

@jeroenrinzema jeroenrinzema merged commit 454cece into master Sep 4, 2020
@jeroenrinzema jeroenrinzema deleted the feat/template-strings branch September 4, 2020 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants