I'm writing a service-based server for a project I'm working on, which is written in Go and uses Protocol Buffers for inter-service communication. Everything was working fine until I added protocols named DeviceRequest
and DeviceResponse
, now the compiler can't find them, while the go source of the protocol exists and is set up in my GOPATH
. WebStorm also finds them, but for some reason the compiler doesn't. The strange thing is that old protocols of which the Go source doesn't exist anymore do work (Webstorm also does not recognize them), see these screenshots
I've tried deleting the files in my GOPATH
, but that didn't work. My guess is that go
is using some kind of cache memory but I couldn't find anything about that online.