You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\root\gopath
set GORACE=
set GOROOT=D:\Program Files\Go
set GOTOOLDIR=D:\Program Files\Go\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
curl http://127.0.0.1:8080/debug/vars | python -m json.tool returned a JSON string and the KV of "origin" is "origin": "2016-11-2123:19:50.3948635+0800CST"
What did you see instead?
curl http://127.0.0.1:8080/debug/vars | python -m json.tool raise a error because the returned output are not a JSON string. The KV of "origin" is "origin": 2016-11-21 23:16:58.4657459 +0800 CST (missing quote)
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version go1.6.1 windows/amd64
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\root\gopath
set GORACE=
set GOROOT=D:\Program Files\Go
set GOTOOLDIR=D:\Program Files\Go\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
What did you do?
What did you expect to see?
curl http://127.0.0.1:8080/debug/vars | python -m json.tool
returned a JSON string and the KV of "origin" is"origin": "2016-11-2123:19:50.3948635+0800CST"
What did you see instead?
curl http://127.0.0.1:8080/debug/vars | python -m json.tool
raise a error because the returned output are not a JSON string. The KV of "origin" is"origin": 2016-11-21 23:16:58.4657459 +0800 CST
(missing quote)The text was updated successfully, but these errors were encountered: