Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2026 Changes in this version + func EncodePublic(w io.Writer, art ArtifactV1) error + func ExtractShape(sc ShapeContext) string + func ResolveCallee(call *ast.CallExpr, info *types.Info) string + type ArtifactV1 struct + Entries map[string][]Usage + Meta Meta + type Index struct + func Load(path string) (*Index, error) + func LoadFromFS(fsys fs.FS, path string) (*Index, error) + func (i *Index) Len() int + func (i *Index) Meta() Meta + func (i *Index) Usage(qualName string, topN int) []Usage + type Meta struct + BuiltAt string + CallCount int + Source string + Version int + type ShapeContext struct + Call *ast.CallExpr + Info *types.Info + Parent ast.Node + type Usage struct + ExampleRepos []string + Frequency float64 + Pattern string