Documentation
¶
Overview ¶
pobj-docgen extracts godoc comments and generates SetDoc calls for pobj registrations.
Usage:
//go:generate go run github.com/KarpelesLab/pobj/cmd/pobj-docgen
The tool scans the current package for pobj.Register, pobj.RegisterActions, and pobj.RegisterMethod calls, finds the associated godoc comments for the registered types and functions, and generates a pobj_doc.go file with init() that sets the documentation.
Click to show internal directories.
Click to hide internal directories.