I just created two EC2 instances, one with Jenkins and one for the go application.
I managed to create a node and a job that works together, and after starting the job for building the go application, I get the go files inside the workspace folder.
and I don't understand what I need to do from now. I can't run go run server.go
because it's doesn't in the go src folder so I am getting an error that the namespace doesn't exist.
This is the error i get:
server.go:7:2: cannot find package "freelancers/daos" in any of:
/usr/lib/golang/src/freelancers/daos (from $GOROOT)
/home/ec2-user/projects/src/freelancers/daos (from $GOPATH)