You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The set helper presently expects the following argument order: key, value, renderArgs
Because Go template pipelines use the result of the previous expression as the final argument, you can't use them with the set helper. Instead you must use an intermediate variable:
The
set
helper presently expects the following argument order: key, value, renderArgsBecause Go template pipelines use the result of the previous expression as the final argument, you can't use them with the
set
helper. Instead you must use an intermediate variable:If renderArgs was moved to the first argument of the
set
helper, it could be more concise:I'm still learning Go, Revel and templates, so my apologies if I am incorrect.
EDIT: It would also make sense to make the same change to
append
The text was updated successfully, but these errors were encountered: