Does go mod create an comipled binary for package?

(akhil) #1

If we use go get the source code is downloaded in $GOPATH/src and compiled binary is created in $GOPATH/pkg.

But If we create a mod file and the package is downloaded from that source code is present in $GOPAH/pkg/mod and could not find the binary file.

Is binary file created?