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
Does this issue reproduce with the latest release?
I haven't reproduced it with last version, at this moment, I can't upgrade it.
What operating system and processor architecture are you using (go env)?
go env Output
$ set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\XXXXX\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\TFS\Go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\TFS\Go\src\XXXXXXX\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\XXXXXXX\AppData\Local\Temp\go-build620489658=/tmp/go-build -gno-record-gcc-switches
What did you do?
Here is my main struct in this loop where StatsInfo and CheckinBookingInfo is working well parsing them in another calls..
Looking at this, I see a typo in ("date", "response", createdAt", "updatedAt", "productId"): createdAt is quoted incorrectly, which is consistent with the error message you reported.
I would also suggest that you mention the database driver you are using (for example, lib/pq).
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I haven't reproduced it with last version, at this moment, I can't upgrade it.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Here is my main struct in this loop where StatsInfo and CheckinBookingInfo is working well parsing them in another calls..
I'm trying to insert a jsonb field but I can't. I'm trying it like this
And the fmt line shows me a valid json
But when I run the exec line, it throws me an error:
What am I doing wrong? Or someone can tell me if it's a bug from a non updated version?
This insert works perfectly through an IDE database.
The text was updated successfully, but these errors were encountered: