Top "Go-modules" questions

A module is a collection of related Go packages.

malformed module path "xxxx/xxxx/uuid" missing dot in first path element when migrating from GOPATH based dep to go mod

$ go version 1.13.3 I have a folder structure as follows: GOPATH +---src +--- my-api-server +--- my-auth-server +--- main.go +--- my-utils +…

go go-modules
What does 'incompatible' in go.mod mean, will it cause harm?

I'm using goczmq in my project, something like next: main.go: package main import ( _ "github.com/zeromq/goczmq" ) func main() { } …

go go-modules
$GOPATH/go.mod exists but should not in AWS Elastic Beanstalk

I'm trying to deploy a golang app based on gin framework using bitbucket pipeline and AWS Elastic Beanstalk. I create …

go bitbucket amazon-elastic-beanstalk go-modules
Go modules: checksum mismatch

I recently started using modules in Go, but I frequently encounter issues where everything works fine on one machine, but …

go go-modules
Go Modules: finding out right pseudo-version (vX.Y.Z-<timestamp>-<commit>) of required package

I am trying out Go modules. My project requires the libarary golang.org/x/net/html, so I defined this …

go go-modules
How do I properly use go modules in vscode?

I have used vscode 1.41.1 on my mac for a few months and it worked good until I started to use …

visual-studio-code go-modules
How to use a module that is outside of "GOPATH" in another module?

I've created a library as the module for personal use outside of "GOPATH" in "database" folder with this command "go …

go go-modules
How do I find the Go module source cache?

I've upgraded a project to Go 1.11 and enabled module support for my project, but it seems that CircleCI is re-downloading …

go circleci go-modules
How to add local dependency to vendor when using go mod

Before I used go dep, but now office ensure the official tool is go mod. When I use go dep, …

go vendor go-modules
How do I migrate from Dep to Go Modules

I'm currently using Dep and would like to start using Go modules. How do I migrate?

go godeps go-modules govendor