Versions in this module Expand all Collapse all v0 v0.1.0 Jun 7, 2026 Changes in this version + const LangVersion + var SharedTemplates = template.Must(template.ParseFS(sharedTemplateFS, "templates/*.tmpl")) + func FormatGoSource(modulePath, filename string, src []byte) ([]byte, error) + func Render(modulePath string, opts RenderOptions) ([]byte, error) + type RenderOptions struct + Data any + Filename string + TemplateName string + Templates *template.Template + type VerifyResult struct + DiffSummary string + Drifted []string + func VerifyInWorktree(repoRoot string, generateFn func(workdir string) error) (VerifyResult, error) + type WriteAction string + const ActionDrifted + const ActionUnchanged + const ActionWouldWrite + const ActionWritten + type WriteOptions struct + Content []byte + DryRun bool + Headerless bool + Path string + RepoRoot string + Verify bool + type WriteResult struct + Action WriteAction + Path string + func Write(opts WriteOptions) (WriteResult, error) v0.1.0-develop.20260609T060129Z Jun 9, 2026 v0.1.0-develop.20260608T062837Z Jun 8, 2026