Hi,
While setting up the development emvironment, I had some confusion regarding go module vs go path based setup. I'm using Go version 1.26.0 linux/amd64 in Ubuntu 24.04 (WSL).
In contributing.md, the setup is done outside GOPATH whereas in developer.md the setup uses GOPATH.
I also noticed that the documentation explicitly asks to use go version >= 1.13.0 and the repository does seem to use modules. When setting up without the GOPATH as suggested in contributing.md, I encountered import resolution errors as the makefile sets GO111MODULE=off. So a GOPATH base setup becomes necessary for a seamless environment setup.
I wanted to ask whether Fluid utilises gopath based development or if module based development should also work. If GOPATH is required for setup, it might be helpful to clarify the same in contributing.md.
Hi,
While setting up the development emvironment, I had some confusion regarding go module vs go path based setup. I'm using Go version 1.26.0 linux/amd64 in Ubuntu 24.04 (WSL).
In contributing.md, the setup is done outside GOPATH whereas in developer.md the setup uses GOPATH.
I also noticed that the documentation explicitly asks to use go version >= 1.13.0 and the repository does seem to use modules. When setting up without the GOPATH as suggested in contributing.md, I encountered import resolution errors as the makefile sets GO111MODULE=off. So a GOPATH base setup becomes necessary for a seamless environment setup.
I wanted to ask whether Fluid utilises gopath based development or if module based development should also work. If GOPATH is required for setup, it might be helpful to clarify the same in contributing.md.