-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #14. also added new funcmap functions to examples/functions.
- Loading branch information
Showing
57 changed files
with
1,060 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package main | ||
|
||
import "testing" | ||
|
||
func Test_main(t *testing.T) { | ||
tests := []struct { | ||
name string | ||
}{ | ||
// TODO: Add test cases. | ||
} | ||
for _, tt := range tests { | ||
t.Run(tt.name, func(t *testing.T) { | ||
main() | ||
}) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
name=$(basename ${PWD}) | ||
renderizer | ||
renderizer ${name}.txt.tmpl --settings=.${name}.yaml | ||
renderizer ${name}.txt.tmpl --name=Renderizer --items=one --items=two --items=three | ||
renderizer ${name}.txt.tmpl --name=Renderizer --items=one --items=two --items=three --settings=.${name}.yaml | ||
renderizer ${name}.txt.tmpl --settings .${name}.yaml | ||
renderizer ${name}.txt.tmpl --name=Renderizer --items=one --items=two --items=three --settings .${name}.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Hello: Renderizer! | ||
- 0: one | ||
- 1: two | ||
- 2: three | ||
|
||
|
||
Hello: Renderizer! | ||
- 0: one | ||
- 1: two | ||
- 2: three | ||
|
||
|
||
Hello: Renderizer! | ||
- 0: one | ||
- 1: two | ||
- 2: three | ||
|
||
|
||
Hello: Renderizer! | ||
- 0: one | ||
- 1: two | ||
- 2: three | ||
|
||
|
||
Hello: Renderizer! | ||
- 0: one | ||
- 1: two | ||
- 2: three | ||
|
||
|
||
Hello: Renderizer! | ||
- 0: one | ||
- 1: two | ||
- 2: three | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
name=$(basename ${PWD}) | ||
renderizer | ||
renderizer ${name}.html.tmpl --settings=.${name}.yaml | ||
renderizer ${name}.html.tmpl --items=apple --items=banana --items=cherry --foo=true | ||
renderizer ${name}.html.tmpl --items=apple --items=banana --items=cherry --foo=true --settings=.${name}.yaml | ||
renderizer ${name}.html.tmpl --settings .${name}.yaml | ||
renderizer ${name}.html.tmpl --items=apple --items=banana --items=cherry --foo=true --settings .${name}.yaml |
Oops, something went wrong.