Versions in this module Expand all Collapse all v0 v0.2.2 Sep 4, 2026 v0.2.1 Aug 14, 2026 v0.2.0 Aug 11, 2026 Changes in this version type File + Symbols []Symbol + type Import struct + Kind ImportKind + Line int + Module string + Names []Name + func Imports(src []byte, filename string) ([]Import, bool) + type ImportKind string + const ImportDefault + const ImportModule + const ImportNamed + const ImportNamespace + const ImportSideEffect + const ImportWildcard + type Name struct + Alias string + Name string + type Ref struct + Line int + Member string + Receiver string + func Refs(src []byte, filename string, receivers []string) ([]Ref, bool) + type Symbol struct + Exported bool + Kind string + Line int + Name string v0.1.8 Jul 31, 2026 v0.1.7 Jul 21, 2026 v0.1.6 Jun 29, 2026 v0.1.5 Jun 28, 2026 v0.1.4 Jun 15, 2026 v0.1.3 May 22, 2026 v0.1.2 May 2, 2026 v0.1.1 Apr 27, 2026 Changes in this version + const DefaultParseTimeout + const Separator + func Outline(src []byte, filename string) (string, bool) + func SetParseTimeout(d time.Duration) + func Supported(filename string) bool + func Tree(paths []string) string + type File struct + Content string + Language string + Outlined bool + Path string + Size int64 + Skipped string + type Options struct + Compress bool + Concurrency int + Ignore []string + MaxFileSize int64 + MaxFiles int + type Result struct + Files []File + Root string + Tree string + Truncated bool + func Pack(root string, opts Options) (*Result, error) + func (r *Result) Markdown(w io.Writer) error + func (r *Result) XML(w io.Writer) error v0.1.0 Apr 27, 2026