Skip to content

Commit afc6244

Browse files
author
Hiro
committed
issue forms: update go version and add go env missing placeholder for gopls
Signed-off-by: Hiro <[email protected]>
1 parent 4956c34 commit afc6244

File tree

2 files changed

+43
-3
lines changed

2 files changed

+43
-3
lines changed

.github/ISSUE_TEMPLATE/00-bug.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ body:
1818
What version of Go are you using (`go version`)?
1919
2020
Note: we only [support](https://go.dev/doc/devel/release#policy) the two most recent major releases.
21-
placeholder: ex. go version go1.20.7 darwin/arm64
21+
placeholder: ex. go version go1.21.4 darwin/arm64
2222
validations:
2323
required: true
2424

2525
- type: textarea
26-
id: os-and-processor
26+
id: go-env
2727
attributes:
2828
label: "What operating system and processor architecture are you using (`go env`)?"
2929
placeholder: |
@@ -50,7 +50,7 @@ body:
5050
GOTMPDIR=""
5151
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
5252
GOVCS=""
53-
GOVERSION="go1.20.7"
53+
GOVERSION="go1.21.4"
5454
GCCGO="gccgo"
5555
AR="ar"
5656
CC="clang"
@@ -81,6 +81,7 @@ body:
8181
id: expected-behavior
8282
attributes:
8383
label: "What did you expect to see?"
84+
render: shell
8485
validations:
8586
required: true
8687

.github/ISSUE_TEMPLATE/03-gopls.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,45 @@ body:
1818
attributes:
1919
label: "go env"
2020
description: "Output of `go env` on the command line in your workspace directory"
21+
placeholder: |
22+
GO111MODULE=""
23+
GOARCH="arm64"
24+
GOBIN="/Users/gopher/go/bin"
25+
GOCACHE="/Users/gopher/go/cache"
26+
GOENV="/Users/gopher/Library/Application Support/go/env"
27+
GOEXE=""
28+
GOEXPERIMENT=""
29+
GOFLAGS=""
30+
GOHOSTARCH="arm64"
31+
GOHOSTOS="darwin"
32+
GOINSECURE=""
33+
GOMODCACHE="/Users/gopher/go/pkg/mod"
34+
GONOPROXY=""
35+
GONOSUMDB=""
36+
GOOS="darwin"
37+
GOPATH="/Users/gopher/go"
38+
GOPRIVATE=""
39+
GOPROXY="https://proxy.golang.org,direct"
40+
GOROOT="/usr/local/go"
41+
GOSUMDB="sum.golang.org"
42+
GOTMPDIR=""
43+
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
44+
GOVCS=""
45+
GOVERSION="go1.21.4"
46+
GCCGO="gccgo"
47+
AR="ar"
48+
CC="clang"
49+
CXX="clang++"
50+
CGO_ENABLED="1"
51+
GOMOD="/dev/null"
52+
GOWORK=""
53+
CGO_CFLAGS="-O2 -g"
54+
CGO_CPPFLAGS=""
55+
CGO_CXXFLAGS="-O2 -g"
56+
CGO_FFLAGS="-O2 -g"
57+
CGO_LDFLAGS="-O2 -g"
58+
PKG_CONFIG="pkg-config"
59+
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
2160
render: shell
2261
validations:
2362
required: true

0 commit comments

Comments
 (0)