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
2 answers

The glide install command returns [ERROR] $GOPATH is not set

Im trying to install https://github.com/btcsuite/btcd I followed the instructions (with the exception of adding sudo) by first installing glide like so sudo go get -u github.com/Masterminds/glide Then I cloned the repo to the appropriate folder…
Daniel Kobe
  • 9,376
  • 15
  • 62
  • 109
1
vote
1 answer

vendor directory not being used to resolve imports on go build

I'm in the process of relearning Go. I installed the latest Go version (1.7.1) using gvm and I am looking to build a simple rest api app using gin. I installed it using glide get https://github.com/gin-gonic/gin (glide) and that created a "vendor"…
yowmamasita
  • 4,810
  • 3
  • 17
  • 17
1
vote
1 answer

Unwanted Glide imports

I am working on an App Engine app and am coming across this error running goapp serve: Failed parsing input: parser: bad import "syscall" in vendor/golang.org/x/net/icmp/message.go Which is apparently from Glide importing the entire golang.org/x/net…
Andy Haskell
  • 677
  • 5
  • 16
1
vote
1 answer

Docker build failed because of "port 443: Connection timed out"

$ docker build buehler/twitterbeat Sending build context to Docker daemon 96.26 kB Step 1 : FROM golang:1.5.2 ---> 9c67771abd78 Step 2 : MAINTAINER Christoph Buehler ---> Using cache ---> 57cbdd07c195 Step 3 : ENV…
user5845158
0
votes
0 answers

How to fix TLS handshake timeout when importing rsc.io/quote package in Go?

I’m trying to run a simple hello world program in Go that imports the rsc.io/quote package, but I get this error: go: finding module for package rsc.io/quote example/hello imports rsc.io/quote: module rsc.io/quote: Get…
0
votes
2 answers

Unable to install glide in Ubuntu 16.04.3 LTS

Trying to install glide via command glide install but unable to glide install No command 'glide' found, did you mean: glide -h No command 'glide' found, did you mean: Command 'glade' from package 'glade' (universe) glide: command not found
aΨVaN
  • 1,104
  • 2
  • 9
  • 18
0
votes
0 answers

How can find the child widget in therecipe/qt

I want to change the child widget's size when it's parent widget's size changed, but i can't find it's child widget in parent widget. My code such as that: package main import ( "fmt" "github.com/therecipe/qt/core" …
0
votes
1 answer

UnityWebRequest has already been sent; cannot begin sending the request again

I'm trying to regenerate token from server using golang When I host this url in localhost i get rtc and rtm token both in chrome site http://localhost:8080/rte/agora/publisher/uid/1234/ Later I tried to connect with unity this is my webrequest in…
0
votes
0 answers

glide unable to fetch dependency on buildkite CI pipeline

I have a go service that uses glide for dependency management. I updated the version (in glide.lock file) for one of the packages used by the service. (The commit id is taken from master branch). However, the CI job fails as it's unable to fetch the…
Bishnu
  • 383
  • 4
  • 14
0
votes
1 answer

change user status from capture to activated in mongoDB

Here, all i am trying to achieve is to change a user status from CAPTURE to ACTIVATED in the mongodb using golang. This is what i have done so far but yet i am not getting the right response. So far, I have tried the following implementation but…
0
votes
1 answer

How do I extract a part of a string

I'm need to get a part a of a string, i.e.: { "token":"eyJ0eXjskdckjasdcaksdclkasdcsjnsc", "expiresOnTimestamp":9234234 } I've tried using split, splitafter. I need to get this token, just the token.
0
votes
1 answer

Golang fiber c.Render layout not excute right template

I'm trying to use one layout with different templates, ├── Main Folder ├── cmd └── main.go ├── controllers ├── models ├── views └── partials └── layout.html └── index.html └── dashboard.html …
Hardy
  • 75
  • 4
0
votes
4 answers

android how to load SVG into imageView

I tried loading the SVG path into imageView, but I couldn't for example, I have SVG path as String "
0
votes
0 answers

smtp: server doesn't support AUTH

Hi i am trying to develop a simple SMTP application using golang, but my smtp server doesnt support Auth it doesnt require a user name or password. But in Go lang it uses plain auth authentication which passes a password but i am getting the above…
0
votes
2 answers

How to check pkcs format of a private key using golang code?

I am trying find the encryption format of a private key whether it is pkcs1 or pkcs8. Is there any golang code that helps me identify it
1 2 3
8 9