Documentation
¶
Overview ¶
Package main provides the command-line interface for the go template LSP.
It performs static analysis on Go source code to identify template rendering invocations, function map declarations, and validate templates against their corresponding render calls.
The analyzer can output various forms of JSON results, including detected render calls, function maps, validation errors, and named template blocks. It supports gzip compression for the output.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ast performs comprehensive static analysis on Go source code to extract:
|
Package ast performs comprehensive static analysis on Go source code to extract: |
|
Package validator performs static analysis on Go templates to identify potential issues.
|
Package validator performs static analysis on Go templates to identify potential issues. |
Click to show internal directories.
Click to hide internal directories.