gobuffalo / plush

The powerful template system that Go needs
MIT License
895 stars 57 forks source link

bug: Panic when accessing index out of range in a struct #184

Closed Mido-sys closed 1 month ago

Mido-sys commented 1 month ago

Description

Accessing index 0 in Name panics. myarray[0].Name[0].A[1].He[2].Final

To Reproduce

No response

Additional Context

Details

``` Paste the output of `buffalo info` here! ```
Mido-sys commented 1 month ago

Hello @paganotoni, I pushed a fix to the issue above.