gotpl-analyzer

command
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL