github.com/google/capslock@v0.2.3-0.20240517042941-dac19fc347c0/analyzer/static/default.tmpl (about)

     1  {{format "intro"}}Capslock is an experimental tool for static analysis of Go packages.
     2  Share feedback and file bugs at {{format "highlight"}}https://github.com/google/capslock.{{format}}
     3  {{format "intro"}}For additional debugging signals, use verbose mode with {{format "highlight"}}-output=verbose{{format}}
     4  {{format "intro"}}To get machine-readable full analysis output, use {{format "highlight"}}-output=json{{format}}
     5  
     6  {{if .ModuleInfo}}{{format "heading"}}Analyzed packages:{{format}}
     7  {{range $val := .ModuleInfo}}  {{$val.Path}} {{$val.Version}}
     8  {{end}}{{end}}{{if .CapabilityCounts}}{{range $p, $index := .CapabilityCounts}}
     9  {{format "capability" $p}}{{$p}}{{format}}: {{$index}} references{{end}}
    10  {{else}}{{format "nocap"}}Capslock found no capabilities in this package.{{format}}{{end}}