Documentation
¶
Overview ¶
update_examples.go updates README.md code examples with actual example code.
This program reads Go source files from the examples/ directory and replaces the corresponding code blocks in README.md with the actual working code. It ensures that documentation stays in sync with real examples and converts tabs to spaces for proper markdown formatting.
Usage:
go run examples/update_examples.go
The program automatically finds and updates all mapped code sections in README.md based on the exampleMappings configuration.
Click to show internal directories.
Click to hide internal directories.