codocgen

package
v0.0.0-...-7194fc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPath

func FromPath(path string, opts ...Option) (*codoc.Package, error)

FromPath generates documentation for a package at the given path.

func RegisterPath

func RegisterPath(path string, opts ...Option) error

RegisterPath registers a package at the given path.

Types

type Option

type Option func(*config)

func Exported

func Exported() Option

func FilterFuncs

func FilterFuncs(fn func(fn codoc.Function) bool) Option

func FilterStructs

func FilterStructs(fn func(st codoc.Struct) bool) Option

func WithDoc

func WithDoc() Option

type PackageError

type PackageError []packages.Error

func (PackageError) Error

func (PackageError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL