goctl bug

Overview

goctl bug is a tool used to submit goctl bugs that automatically collects goctl, operating system information, goctl configuration information, and then quickly create an issue template on GitHub to facilitate quick submission of bugs.

Usage

Developers only need to enter the following command in the terminal to quickly open the browser and create an issue template:

  1. $ goctl bug

Github issue template is as follows:

  1. <!-- Please answer these questions before submitting your issue. Thanks! -->
  2. ### What category of issue (<code>goctl</code> or <code>sdk</code>)?
  3. ### What type of issue (<code>feature</code>|<code>bug</code>|<code>suggestion</code>)?
  4. ### What version of Goctl are you using (<code>goctl --version</code>)?
  5. <pre>
  6. $ goctl --version
  7. 1.4.3
  8. </pre>
  9. ### Does this issue reproduce with the latest release?
  10. ### What operating system and processor architecture are you using ?
  11. <pre>
  12. OS = "darwin"
  13. ARCH = "arm64"
  14. GOCTL_VERSION = "1.4.3"
  15. GO_VERSION = "go1.18.3"
  16. </pre>
  17. ### What did you do?
  18. <!--
  19. If possible, provide a recipe for reproducing the error.
  20. A complete runnable program is good.
  21. A link on play.golang.org is best.
  22. -->
  23. ### What did you expect to see?
  24. ### What did you see instead?

::note
in template goctl version,OS,ARCH,GOCTL_VERSION,GO_VERN Information will automatically fill the current developer system, Sender is not required to fill in manually. :::