examples

command
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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