How are dependencies tracked in Go?

We create a folder via go mod init and specify a path name like so
go mod init folder/name

go.mod file will list the dependencies that your project needs.
Must be similar to package.json

Dependencies listed point to your online repository. If you are developing local you need to update your go.mod file and replace the path like so:
replace => ../greetings