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 happened: go run main.go , at at/basic, get error:
at/basic/main.go:38:2: undefined: sampleInsert
at/basic/main.go:41:2: undefined: sampleInsertOnUpdate
at/basic/main.go:44:2: undefined: sampleSelectForUpdate
What you expected to happen:
running normally
How to reproduce it (as minimally and precisely as possible):
may be in my golang version: go version go1.20.5 darwin/amd64
Anything else we need to know?: no
The text was updated successfully, but these errors were encountered:
i use: go run at/basic/* can pass this problem, but i dont know how to debug it by dlv in vscode
Another way to fix it is :go build at/basic/main.go, then execute it。
It is preferable to execute go run ./at/basic/. here because go run at/basic/* may have side effects, such as causing an error when there are *_test.go files present in the directory.
Additionally, due to the location of conf/seatago.yml, the go run ./at/basic/. command should be executed in the main directory instead of following the instructions in the README to execute it in at/basic.
What happened: go run main.go , at at/basic, get error:
at/basic/main.go:38:2: undefined: sampleInsert
at/basic/main.go:41:2: undefined: sampleInsertOnUpdate
at/basic/main.go:44:2: undefined: sampleSelectForUpdate
What you expected to happen:
running normally
How to reproduce it (as minimally and precisely as possible):
may be in my golang version: go version go1.20.5 darwin/amd64
Anything else we need to know?: no
The text was updated successfully, but these errors were encountered: