Questions tagged [glide-golang]

Glide is obsolete, use Go Modules instead! Glide is a package manager for Go that is conceptually similar to package managers for other languages such as Cargo for Rust, NPM for Node.js, Pip for Python, Bundler for Ruby, and so forth.

!! Don't use Glide !!

Glide has been obsoleted by Go Modules for many years now. Use Go Modules instead.

Homepage

Github

Documentation

132 questions
1
vote
1 answer

Chaincode is getting invoked but the data is not getting stored in blockchain

While invoking the chaincode, the data is being read properly. We checked this using the Println statement. But the invoked data is not getting stored in the blockchain network. It throws the following error. "Error: error sending transaction for…
1
vote
1 answer

golang build command returns unexpected directory layout

I'm attempting to compile https://github.com/xteve-project/xTeVe. Instructions state to download sourcecode and then dependances go get github.com/koron/go-ssdp go get github.com/gorilla/websocket go get github.com/kardianos/osext following error…
juggler
  • 21
  • 3
1
vote
2 answers

fixing versions of tools used by go

I am looking to create reproducible builds with go. For individual projects we are using glide. So for example I use: glide get github.com/stretchr/testify to fix the version of the "testify" package. This does not work for tools however. For…
Bruce Adams
  • 4,953
  • 4
  • 48
  • 111
1
vote
0 answers

Getting error when downloading dependencies

I have cloned a project from GitHub , which use glide as package management when I try to run glide install -v I am getting error of panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation…
li-raz
  • 1,678
  • 2
  • 29
  • 57
1
vote
3 answers

Glide update Cannot detect VCS

Trying to set up the go project using Glide. I have been finding the error Cannot detect VCS when I ran the command glide up -v. Errors: [ERROR] Error looking for project/base: Cannot detect VCS [INFO] --> Fetching project/form [WARN] Unable to…
Seenu S
  • 3,381
  • 6
  • 30
  • 45
1
vote
1 answer

How to do Mock Go-lang GRPC Method

func GetImagesList() { conn, err := grpc.Dial(address, grpc.WithInsecure()) if err != nil { Log.Info("did not connect: %v", err) } defer conn.Close() // Get Client from the grpc connection client := pb.NewGrpcClient(conn) …
Anupam Somani
  • 224
  • 1
  • 7
  • 17
1
vote
1 answer

Error scanning github.com/golang/protobuf/proto/testdata: cannot find package "."

When running glide install on my project, I get the following error: [ERROR] Error scanning github.com/golang/protobuf/proto/testdata: cannot find package "." in: …
1
vote
1 answer

Cannot find vendored package in VS Code

Using go go1.10.2 darwin/amd64 together with glide 0.13.1. Dependencies are in the vendor directory. There is no error building from the command line. When viewing the code in VS Code, the following error is displayed: Cannot find package…
Martin Flower
  • 353
  • 4
  • 14
1
vote
0 answers

Glide with private repo and different ssh port

I've got a private gitlab server configured for ssh on port 2222 My golang project are using glide for dependency management, sometimes importing other project from the private server The URL of my projects looks something like…
BlueMagma
  • 2,392
  • 1
  • 22
  • 46
1
vote
1 answer

Specify cache directory for Go-Glide

Is there a way to specify a cache directory in Glide command ? glide install --strip-vendor Above command uses ~/.glide/cache directory as cache by default. Is there a way to specify custom directory to use for cache or is there a way to avoid…
Ashwin
  • 993
  • 1
  • 16
  • 41
1
vote
0 answers

how to config golang glide?

my svn client checkout project from svn server need user and passwords, how to config glide ? the glide.yaml content: - package: xxx.net/project-dir vcs: svn repo: svn://xxx.net/project-dir execute "glide install" report: svn: E215004:…
Lee
  • 97
  • 2
  • 13
1
vote
0 answers

Link specific version of C library to golang program

I develop a utility in Go that requires recent version of sqlite. I'm interested only in targeting specific architecture, to be specific: x64 linux. I'm developing that utility on Mac OS X. I'm using go-sqlite3 driver. I use GNU Make + Glide to…
Al Star
  • 13
  • 3
1
vote
1 answer

How to clear GridView while working with Firestore?

The problem is that I can't refresh my gridView and when I make changes in Firestore, my gridView doesn't clear and just adds new values(images) from Firestore. I have tried lots of methods that I could find on "stackoverflow" but with no success.…
1
vote
0 answers

Golang how parse into xml exception dynamically

I have some code. I want get elem NoSessionException dynamically, because I have few xml responses with different exceptions. How can I to do it? package main import ( "encoding/xml" "fmt" ) type E struct { XMLName xml.Name…
Invisible
  • 11
  • 3
1
vote
2 answers

Remote does match the VCS endpoint for logrus package

Something weird is happening here, and I can't figure it out. I'm using glide for my dependencies, and there's one package giving me grief. I added the github.com/sirupsen/logrus package for logging, and then ran glide up. This happened: [INFO] …
jaxxstorm
  • 12,422
  • 5
  • 57
  • 67
1 2
3
8 9