Commit 18843e6
authored
Add
Description of changes:
This PR adds a Go template function for de-referencing strings. Go templates do not, out of the box, support string de-referencing when doing string comparison. When comparing a string pointer to a pointer it gives a fatal type mismatch error.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.Dereference template function (#230)1 parent af5f01e commit 18843e6
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
0 commit comments