gobuffalo / plush

The powerful template system that Go needs
MIT License
901 stars 56 forks source link

[Question] Any way to access first element of an array without for cycle? #101

Closed badstorm closed 3 years ago

badstorm commented 5 years ago

Hi, there is any way inline to get the first element of an array without create a for cycle?

For example:

<%= myarray[0].Name %>

paganotoni commented 3 years ago

Solved in v4.1.4