3 ms·
Cool!! You can access arrays with `{{ index .myArray 0 }}` ( https://notify17.net/docs/templates/#arrays https://notify17.net/docs/templates/#arrays ). Notify1
by cmaster11 7y ago
Cool!!
You can access arrays with `{{ index .myArray 0 }}` ( https://notify17.net/docs/templates/#arrays https://notify17.net/docs/templates/#arrays ). Notify17 uses golang templates :)
- cyberferret 7y agoCan confirm that works. :) I am not familiar with GoLang, but using {{ (index .Records 0).Sns.Message }} works (for anyone who may be interested in the solution).
- cmaster11 7y agoYes, I'm aware at first sight, for non Golang users, it may look a not-so-friendly syntax, but Go templates are just too powerful to not use them :D