pobj-docgen

command
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

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