type Link … type FileInfo … type fileInfo … // get returns the file info in external form. // Callers must not mutate its fields. func (fi *fileInfo) get() FileInfo { … } type PackageInfo … type pkgInfo … // get returns the package info in external form. // Callers must not mutate its fields. func (pi *pkgInfo) get() PackageInfo { … } type Result … // fileInfo returns the fileInfo for the specified godoc file URL, // constructing it as needed. Thread-safe. func (res *Result) fileInfo(url string) *fileInfo { … } // Status returns a human-readable description of the current analysis status. func (res *Result) Status() string { … } // FileInfo returns new slices containing opaque JSON values and the // HTML link markup for the specified godoc file URL. Thread-safe. // Callers must not mutate the elements. // It returns "zero" if no data is available. func (res *Result) FileInfo(url string) (fi FileInfo) { … } // pkgInfo returns the pkgInfo for the specified import path, // constructing it as needed. Thread-safe. func (res *Result) pkgInfo(importPath string) *pkgInfo { … } // PackageInfo returns new slices of JSON values for the callgraph and // type info for the specified package. Thread-safe. // Callers must not mutate its fields. // PackageInfo returns "zero" if no data is available. func (res *Result) PackageInfo(importPath string) PackageInfo { … } type linksByStart … func (a linksByStart) Less(i, j int) bool { … } func (a linksByStart) Swap(i, j int) { … } func (a linksByStart) Len() int { … }