Cross-template dependencies
未關閉
enhancement
- 主要語言
- Go
- 星號
- 16
- 分支
- 4
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### TL;DR
We'd like a template to be able to "include" another template, as a kind of subroutine.
TODO describe more
cc @capri-xiyue
貢獻指南
研究方向
The issue mentions cross-template dependencies and includes, but the TODO indicates the description is incomplete. Look at the template system in the codebase, likely under a 'templates' or 'pkg/template' directory. Understand how templates are currently parsed and rendered. Determine what a 'subroutine' inclusion would entail, such as parsing dependencies, handling variable scopes, and avoiding cycles. Check for existing issues or PRs about template features.
由索引模型根據 Issue 內容生成。
評估
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100