export GOPATH={path to app directory}/server
How to Build a Simple Web App with React, Graphql, and Go
Chris Chuck
44616

Is there any way you can clarify why we need to change our GOPATH to our server path? I know that all of the Go projects should go under one directory…and I was told to set my GOPATH to this one directory. I’m wondering why the GOPATH has to be set to our server in order for our server to run…sorry if this is a trivial question. I’m a GoLang noob.