When I enable gomodules and build my go program then the required packages are downloaded.
But I cannot find them in $GOPATH/src/ or in $GOPATH/s
$GOPATH/src/
$GOPATH/s
I'm on Macos 10.13.6, using go1.11 darwin/amd64 and echo $GOPATH is empty.
go1.11 darwin/amd64
echo $GOPATH
I found my modules in $HOME/go/pkg/mod
$HOME/go/pkg/mod