Does go mod create an comipled binary for package?

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?

Thanks
Akhil

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.