Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + type Bundle struct + func BundleFrom(filename string) (*Bundle, error) + func NewBundle() *Bundle + func (b *Bundle) Add(path string, facts *Package) + func (b *Bundle) Package(pkg *types.Package) (*Package, error) + func (b *Bundle) Serialize(w io.Writer) error + type Package struct + Objects map[types.Object][]analysis.Fact + func NewPackage() *Package + func (p *Package) ExportFact(obj types.Object, ptr analysis.Fact) + func (p *Package) ImportFact(obj types.Object, ptr analysis.Fact) bool + func (p *Package) ReadFrom(pkg *types.Package, r io.Reader) error + func (p *Package) Serialize(w io.Writer) error + type Serializer interface + Serialize func(w io.Writer) error