p3tr0v commented on issue #1089:
URL: https://github.com/apache/plc4x/issues/1089#issuecomment-1699059925

   > what does your import statement look like in the `main.go`? Can you post 
the code of that file?
   
   thanks for your time!
   The main is simple, when trying to code, VScode just dont find the module.
   
![vs](https://github.com/apache/plc4x/assets/28512249/031be13e-2a7a-47bd-bbbe-18627432335c)
   If I try to force the import, I got this
   
![vs2](https://github.com/apache/plc4x/assets/28512249/67c18361-4c48-4db0-a598-3d82e4eb4f55)
   
    My `go env`
   ```
   GO111MODULE="on"
   GOARCH="amd64"
   GOBIN="/opt/golang/current/bin"
   GOCACHE="/opt/golang/current/gocache/go-build"
   GOENV="/home/user/.config/go/env"
   GOEXE=""
   GOEXPERIMENT=""
   GOFLAGS=""
   GOHOSTARCH="amd64"
   GOHOSTOS="linux"
   GOINSECURE=""
   GOMODCACHE="/home/user/dev/projects/golang-workspace/pkg/mod"
   GONOPROXY=""
   GONOSUMDB=""
   GOOS="linux"
   GOPATH="/home/user/dev/projects/golang-workspace"
   GOPRIVATE=""
   GOPROXY="https://proxy.golang.org,direct";
   GOROOT="/opt/golang/current"
   GOSUMDB="sum.golang.org"
   GOTMPDIR=""
   GOTOOLDIR="/opt/golang/current/pkg/tool/linux_amd64"
   GOVCS=""
   GOVERSION="go1.20.5"
   GCCGO="gccgo"
   GOAMD64="v1"
   AR="ar"
   CC="gcc"
   CXX="g++"
   CGO_ENABLED="1"
   GOMOD="/dev/null"
   GOWORK=""
   CGO_CFLAGS="-O2 -g"
   CGO_CPPFLAGS=""
   CGO_CXXFLAGS="-O2 -g"
   CGO_FFLAGS="-O2 -g"
   CGO_LDFLAGS="-O2 -g"
   PKG_CONFIG="pkg-config"
   GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 
-fdebug-prefix-map=/tmp/go-build2976824462=/tmp/go-build 
-gno-record-gcc-switches"
   ```
   
   
   
   
   whatever other project I can import from ~/go/pkg/mod/github.com, so the 
problem isn't the IDE.
   
   Why should I delete go.work? Even without this file, the issue persists.
   
   
   
   > and what starting guide are you referring to?
   
   https://plc4x.apache.org/users/getting-started/plc4go.html
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to