All package READMEs should follow this structure (philosophy first, then usage):
[Optional: Symbol if applicable, e.g., ꩜ for Pulse]
[One-line description of what this package does]
[2-3 paragraphs explaining the philosophy and problem this solves]
The problem: [What problem exists without this package]
[Package] is the answer: [How this package solves it]
[Optional: Additional philosophical points or design principles]
[Define key terms and concepts specific to this package]
[Definition and explanation]
[Definition and explanation]
// Simple, most common use case
import "github.com/teranos/QNTX/[package]"
// Example code
// More complex example showing additional features
[Key functions/types - link to godoc for complete reference]
FunctionName() - Brief descriptionAnotherFunction() - Brief descriptionTypeName - Brief descriptionAnotherType - Brief description[If applicable: How to configure via am.toml]
[package]
setting = "value"
[How this package interacts with other QNTX components]
# Run tests
go test ./[package]/...
# With coverage
go test -cover ./[package]/...
# Verbose output for debugging
go test -v ./[package]/...
[Optional but recommended: Common debugging scenarios]
Issue: [Common problem] Solution: [How to fix]
Issue: [Another problem] Solution: [How to debug]
[Optional: Important implementation details, not aspirational]
When using this template:
Remove any sections that don't apply to your package.