85 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
64
views
Installing `go get github.com/gorilla/mux` throws `access is denied` error on Windows
I want to install github.com/gorilla/mux but it throws an access is denied error on Windows.
Command:
go get github.com/gorilla/mux
Output:
go: downloading github.com/gorilla/mux v1.8.1 go: github....
0
votes
1
answer
2k
views
go get is always returning: no matching versions for query "upgrade"
This started after I consolidated several repositories and go packages into one repository and package.
Here is the message:
go: github.com/sty-holdings/sharedServices/2024: no matching versions for ...
0
votes
1
answer
80
views
go get a subdirectory with private azure repo
I want to require a specific module of a private azure repository. The module is in a subdirectory of said repository. This results in a required module that contains an undesired [...].git/[...] in ...
0
votes
0
answers
166
views
Obtaining minimum required go version of remote go module
Is there a way to obtain minimum required go version of remote go module?
I ran into a problem when updated all required modules to latest version that some of modules requires upper go version than ...
0
votes
1
answer
148
views
Git config with condifional does not work with url rewrites
I have two different work folders in my computer one is in ~/Documents/work/companyA other is in ~/work/companyB. I wrote conditional gitconfig that is like
[includeIf "gitdir:~/Documents/work/...
0
votes
0
answers
133
views
How to configure the go get command to use http protocol instead of https protocol
The company's private gitlab repository uses the http protocol and cannot be pulled through the go get command by default.
I setting the GOPRIVATE and GOINSECURE variables to no avail.
How can I ...
1
vote
0
answers
268
views
How to use the go get command to download private projects from the company's gitlab repository
I have a project that needs to rely on the internal gitlab private library.
I configured it through the following command, but a URL 404 error occurred. The example is as follows
$ go env -w GOPRIVATE=...
1
vote
1
answer
4k
views
Unable to "go get" module from private github repo on centos 7
I am unable to "go get" module from private github repo
I getting following error message
go get
go: github.com/xxxxx/[email protected]: invalid version: git ...
0
votes
1
answer
329
views
Go install error: ambiguous import: found github.com/hashicorp/consul/api in multiple modules
I'm trying to install Levant but I'm getting the error:
go install github.com/hashicorp/levant
build github.com/hashicorp/levant: cannot load github.com/hashicorp/consul/api: ambiguous import: found ...
loki's user avatar
- 1,175
0
votes
1
answer
566
views
How can I go get this Kubernetes package - unknown revision
How can I go get this kubernetes package.
I have tried the following
go get k8s.io/kubernetes/pkg/serviceaccount
but I get the error
go: k8s.io/[email protected]: reading ...
-1
votes
1
answer
823
views
Golang's go get and install commands fail with "405 Not allowd" errors from gocenter.io
I came back to golang after a while, and tried to troubleshoot an open source library.
When I tried to install its dependencies, and even when my IDE (VSCode) tried to install the current language ...
0
votes
0
answers
1k
views
Golang unable to download private dependencies
My project have some dependencies on my companies private gitlab repository. They are basically sub modules.
Structure is like as below
code.company.com/project/modules/
module1 - git repository
...
2
votes
1
answer
1k
views
go get PRIVATE repo with proxy
My company provides a VPN, but only a global proxy, so I started a vpn in docker and provided the sock5 proxy to the outside, and I wanted go get ≈ <private_repo_path> use my locally started ...
1
vote
1
answer
365
views
Go module is usable even after deleting the module repo from GitHub
I was learning go modules so I created a very basic module with an Add() function and published it on GitHub.
The repository was https://github.com/umermasood/nummanip (it throws 404) becaused I ...
1
vote
1
answer
1k
views
installing telegram bot api package failed
I'm trying to install telegram bot api module for golang from this link:
https://github.com/go-telegram-bot-api/telegram-bot-api
the installation example that showed there isnt working and raises the ...