Skip to content

Commit 956a0a6

Browse files
committed
Add GitHub issue and PR templates
- Add bug report and feature request issue templates - Add pull request template with Go-specific checklist - Improve community standards compliance
1 parent 0bef647 commit 956a0a6

3 files changed

Lines changed: 64 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Report a bug in mtlog
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Version**: (e.g., v0.2.0 or commit hash)
10+
11+
**What happened?**
12+
A clear description of the bug.
13+
14+
**Expected behavior**
15+
What you expected to happen.
16+
17+
**Minimal reproduction**
18+
```go
19+
// Code that reproduces the issue
20+
```
21+
22+
**Environment**
23+
- Go version: `go version`
24+
- OS: (e.g., linux/amd64)
25+
26+
**Additional context**
27+
Any other relevant information.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new feature for mtlog
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem?**
10+
A clear description of the problem.
11+
12+
**Proposed solution**
13+
How you'd like to see it work.
14+
15+
**Alternatives considered**
16+
Other approaches you've thought about.
17+
18+
**Additional context**
19+
Any examples or use cases.

.github/pull_request_template.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Description
2+
Brief description of the changes.
3+
4+
## Type of change
5+
- [ ] Bug fix
6+
- [ ] New feature
7+
- [ ] Performance improvement
8+
- [ ] Documentation update
9+
10+
## Checklist
11+
- [ ] Tests pass (`go test ./...`)
12+
- [ ] Linter passes (`golangci-lint run`)
13+
- [ ] Benchmarks checked (if performance-related)
14+
- [ ] Documentation updated (if needed)
15+
- [ ] Zero-allocation promise maintained (if applicable)
16+
17+
## Additional notes
18+
Any other relevant information or context.

0 commit comments

Comments
 (0)