Feat goctl bug (#1332)

* Support goctl bug

* fix typo

* format code

Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
anqiansong
2021-12-15 22:43:58 +08:00
committed by GitHub
parent 3d8ad5e4f6
commit 0b17e0e5d9
4 changed files with 126 additions and 0 deletions

39
tools/goctl/bug/issue.go Normal file
View File

@@ -0,0 +1,39 @@
package bug
const issueTemplate=`
<!-- Please submit an issue order by the following template. Thanks! -->
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**To Reproduce**
<!-- Steps to reproduce the behavior, if applicable: -->
1. The code is
<pre>
</pre>
2. The error is
<pre>
</pre>
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->
**Environments (please complete the following information):**
<!-- - OS: [e.g. Linux]
- go-zero version [e.g. 1.2.1]
- goctl version [e.g. 1.2.1, optional] -->
%s
**More description**
<!-- Add any other context about the problem here. -->
`