to make this dependencies recognized throughout the project run
go mod vendor
The go mod vendor command copies the downloaded dependencies into the project folder and doesn't necessarily make them recognized in the project. You could still use the dependencies in the project without having to vendor them. More about that here: go.dev/ref/mod#go-mod-vendor
The
go mod vendor
command copies the downloaded dependencies into the project folder and doesn't necessarily make them recognized in the project. You could still use the dependencies in the project without having to vendor them. More about that here: go.dev/ref/mod#go-mod-vendorThank you for the correction, really appreciated!