From da37b31860c94582c739949e48be902d69a321ae Mon Sep 17 00:00:00 2001 From: Lomanic Date: Mon, 5 Nov 2018 16:22:32 +0100 Subject: [PATCH] Create Github issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 26 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 +++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..47894d5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,26 @@ +--- +name: Bug report +about: Create a report to help us improve gopsutil + +--- + +**Describe the bug** +[A clear and concise description of what the bug is.] + +**To Reproduce** +```go +// paste example code reproducing the bug you are reporting +``` + +**Expected behavior** +[A clear and concise description of what you expected to happen.] + +**Environment (please complete the following information):** + - [ ] Windows: [paste the result of `ver`] + - [ ] Linux: [paste contents of `/etc/os-release` and the result of `uname -a`] + - [ ] Mac OS: [paste the result of `sw_vers` and `uname -a` + - [ ] FreeBSD: [paste the result of `freebsd-version -k -r -u` and `uname -a`] + - [ ] OpenBSD: [paste the result of `uname -a`] + +**Additional context** +[Cross-compiling? Paste the command you are using to cross-compile and the result of the corresponding `go env`] diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..a2c571b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest an idea for gopsutil + +--- + +**Is your feature request related to a problem? Please describe.** +[A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]] + +**Describe the solution you'd like** +[A clear and concise description of what you want to happen.] + +**Describe alternatives you've considered** +[A clear and concise description of any alternative solutions or features you've considered.] + +**Additional context** +[Add any other context or screenshots about the feature request here.]