Closed
Description
For asking questions, see:
Before filing an issue, please review our troubleshooting guides
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
- Run
go version
to get version of Go from the VS Code integrated terminal.go version go1.16 linux/amd64
- Run
gopls -v version
to get version of Gopls from the VS Code integrated terminal.
➜ postgres-operator git:(master) ✗ /home/aisuko/go/bin/gopls -v version
Build info
----------
golang.org/x/tools/gopls v0.6.10
golang.org/x/tools/[email protected] h1:8Ebz8PymS2umcuCFhoz67unyJfWsipjTIrkBUF9kypg=
github.com/BurntSushi/[email protected] h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/google/[email protected] h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=
github.com/sergi/[email protected] h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
golang.org/x/[email protected] h1:Kvvh58BN8Y9/lBi7hTekvtMpm07eUZ0ck5pRHpsMWrY=
golang.org/x/[email protected] h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
golang.org/x/[email protected] h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk=
golang.org/x/[email protected] h1:B+9Jhwu5uM+kDMAkoQH6IUoIoS48VbRqwLyceNdpRK8=
golang.org/x/[email protected] h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
honnef.co/go/[email protected] h1:qTakTkI6ni6LFD5sBwwsdSO+AQqbSIxOauHTTQKZ/7o=
mvdan.cc/[email protected] h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=
mvdan.cc/xurls/[email protected] h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=
- Run
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.
1.55.2
3c4e3df9e89829dce27b7b5c24508306b151f30d
x64
- Check your installed extensions to get the version of the VS Code Go extension
- v0.24.2
- Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) >
Go: Locate Configured Go Tools
command.
Checking configured tools....
GOBIN: undefined
toolsGopath:
gopath: /home/aisuko/go
GOROOT: /usr/local/go
PATH: /home/aisuko/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/bin:/home/aisuko/.rbenv/shims:/home/aisuko/.rbenv/bin:/home/aisuko/gems/bin:/home/aisuko/bin:/usr/local/bin:/usr/local/go/bin:/home/aisuko/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/share/rvm/bin
gopkgs: /home/aisuko/go/bin/gopkgs installed
go-outline: /home/aisuko/go/bin/go-outline installed
gotests: /home/aisuko/go/bin/gotests installed
gomodifytags: /home/aisuko/go/bin/gomodifytags installed
impl: /home/aisuko/go/bin/impl installed
goplay: /home/aisuko/go/bin/goplay installed
dlv: /home/aisuko/go/bin/dlv installed
dlv-dap: /home/aisuko/go/bin/dlv-dap installed
staticcheck: /home/aisuko/go/bin/staticcheck installed
gopls: /home/aisuko/go/bin/gopls installed
go env
Workspace Folder (postgres-operator): /home/aisuko/Documents/postgres-operator
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/aisuko/.cache/go-build"
GOENV="/home/aisuko/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/aisuko/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/aisuko/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/aisuko/Documents/postgres-operator/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1833826342=/tmp/go-build -gno-record-gcc-switches"
Share the Go related settings you have added/edited
Run Preferences: Open Settings (JSON)
command to open your settings.json file.
Share all the settings with the go.
or ["go"]
or gopls
prefixes.
Describe the bug
A clear and concise description of what the bug.
The value of variable which named AdditionalSuperuserTeams
, AdditionalTeams
and AdditionalMembers
was lost.
A clear and concise description of what you expected to happen.
The expectation of the stack like below
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- See error
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.