Inspectopedia
 
2024.3

Unknown variable

Error
Reliability
New
Last modified: 03 December 2024

Reports usages of unknown variables in Go Templates.

Parsing of such templates will cause panic because variables must be declared before usage.

Example: