vgo Questions

3

Solved

I've installed a package using go modules (go get in Go 1.13) and now I want to remove it. In the documentation there is nothing about this and in go get docu neither. Removing the package from go...
Hayleyhayloft asked 24/7, 2019 at 15:42

4

Solved

I'm trying out Go's new modules system and am having trouble accessing local packages. The following project is in a folder on my desktop outside my gopath. My project structure looks like: / - ...
Hollenbeck asked 26/8, 2018 at 12:32

5

Solved

In my Go project, I want to break out some generic functionality into a Go module, separate from the main project. I'm doing this outside of GOPATH in keeping with go's future. I don't want to publ...
Boon asked 31/8, 2018 at 23:26

2

Solved

What is proper way to import (use) go module internally? For example: creating a new module by: go mod init example.com/my-project (example.com or another domain, which doesn't exist) and using...
Amnion asked 13/5, 2019 at 17:46

6

Solved

When I enable gomodules and build my go program then the required packages are downloaded. But I cannot find them in $GOPATH/src/ or in $GOPATH/src/mod. Where are they stored? export GO111MODULE...
Motet asked 1/9, 2018 at 9:46

4

Solved

So I have a private repo that my main.go imports. I'm getting this error when I do a go build: cannot find module for path Do I need to do anything special for a private repo? I have been googlin...
Binette asked 6/9, 2018 at 17:52

2

Solved

I am migrating a Go 1.10 app to Go 1.11. This also includes migrating from dep to mod for managing dependencies. As the application depends on a database, I am using a docker-compose to set up the...
Weakling asked 26/8, 2018 at 12:18

2

Solved

I'm working on a go project, using vgo, with a Dockerfile, and I'd like docker to cache the dependencies of the project such that it has two properties: If the go.mod file changes, the dependenci...
Deppy asked 1/7, 2018 at 19:26
1

© 2022 - 2025 — McMap. All rights reserved.