Skip to content

docs: add auto-detect package to README#58

Merged
leodido merged 3 commits into
developfrom
docs/readme-auto-detect
Apr 25, 2026
Merged

docs: add auto-detect package to README#58
leodido merged 3 commits into
developfrom
docs/readme-auto-detect

Conversation

@leodido
Copy link
Copy Markdown
Owner

@leodido leodido commented Apr 24, 2026

Description

The README had no mention of the auto package or NewParserAuto introduced in PR #54. This adds:

  • Feature list: auto-detect parser entry
  • Auto-detect section: usage with auto.NewMachine, detection heuristic overview, format-specific options example
  • Octet counting section: NewParserAuto example for mixed-format streams
  • Non-transparent section: NewParserAuto example for mixed-format streams
  • Installation section: minimum Go 1.22 requirement

All code examples verified to compile and run.

How to test

Read the README and verify the examples match the current API.

@leodido leodido self-assigned this Apr 24, 2026
@leodido leodido force-pushed the docs/readme-auto-detect branch from c3ec39b to 684b77c Compare April 25, 2026 09:42
leodido added 3 commits April 25, 2026 09:47
- Add auto package to feature list
- Add Auto-detect usage section with code examples
- Add NewParserAuto examples to octetcounting and nontransparent sections
- Note minimum Go 1.22 requirement in Installation
Use rfc5424.NewParser and rfc5424.WithBestEffort for consistency
with the rest of the README.
@leodido leodido force-pushed the docs/readme-auto-detect branch from 684b77c to a768eb0 Compare April 25, 2026 09:48
@leodido leodido merged commit 9c7070b into develop Apr 25, 2026
16 checks passed
@leodido leodido deleted the docs/readme-auto-detect branch April 25, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant