Top "Go-modules" questions

A module is a collection of related Go packages.

go mod: cannot find module providing package

I am creating a go project with version 1.12.1. If I run GOPATH="$(pwd)/vendor:$(pwd)" GOBIN="$(pwd)/bin" go clean …

go go-modules
How to set GOPRIVATE environment variable

I started working on a Go project and it uses some private modules from Github private repos and whenever I …

go environment-variables go-modules
missing go.sum entry for module providing package <package_name>

Using the buffalo framework, after bootstraping it via buffalo new <project_name> I am trying to run buffalo …

go go-modules buffalo
Organize local code in packages using Go modules

I can not find a way to factor out some code from main.go into a local package when using …

go go-modules go-packages
Go get cannot find local packages when using multiple modules in a repo

I'm having issues with go's new module system, as I'd like to define a local module and import it in …

go module go-modules
Go modules, private repos and gopath

We are converting our internal codebase from the dep dependency manager to go modules (vgo or built in with go1.11.2). …

go go-modules
Manually fetch dependencies from go.mod?

I'm using go 1.11 with module support. I understand that the go tool now installs dependencies automatically on build/install. I …

go go-modules
go modules installing go tools

I'm using go modules as dependency management, and I'm having problem to install something like this: go get -u github.…

go go-modules
How to remove an installed package using go modules

I've installed a package using go modules (go get in Go 1.13) and now I want to remove it. In the …

go go-modules vgo
How to use 'go get' or 'go mod vendor' for a specific module, without trying to update other modules?

I'm trying to get a specific package from github for a project. However, when I use go get [url] or …

go go-modules govendor go-get