Skip to main content

Questions tagged [golang]

The tag has no usage guidance.

0 votes
0 answers
26 views

SSD write cost too much time [closed]

Recently I have been conducting some write tests based on SSD hard drives. The background is as follows: I developed a simple file upload server using the Go language. The key code is as follows: for ...
simaocat's user avatar
0 votes
0 answers
187 views

Windows can't connect more than 64k concurrency outgoing connection

I'm trying to make 100k concurrency outgoing connection from one pc to my local server. My program can use specific ip on each connection. Goal : 1 pc have around 100k concurrency outgoing connection. ...
ekomonimo's user avatar
-1 votes
1 answer
137 views

Golang: On Linux (centos), the golang application cannot be installed as a service

I created a Golang program to carry out some functionality. For installation on Linux (centos), I built the application with the appropriate OS and architecture (GOOS=linux, GOARCH=amd64). The ...
Disha Patel's user avatar
0 votes
1 answer
1k views

When windows service is installed under different user it requires manual "Log On" is this expected?

using golang example I created windows service application, as mentioned in documentation I configured with service user and password. I'm using a batch script that will execute @REM install ...
imaheshwaran s's user avatar
1 vote
0 answers
728 views

Getting ignoring symlink error in VSCode

I am new to the Golang and VSCode. In my code, I have golang repo having imports from other directories. So, there is a vendor directory of which I am creating a symbolic link in my repo. But all the ...
PRAJWAL BHAGAT's user avatar
1 vote
0 answers
108 views

Tool written in Go works fine from terminal (in any directory) but gives "command not found" error when called from inside a script

I wrote a shell script that bundles a few networking tools together (amass, nmap etc) and they all work fine except httprobe (a tool that takes a list of domains and probes for working http and https ...
Pink Bug's user avatar
0 votes
0 answers
75 views

Can `sudo` alone be used to switch to another given a password?

I am currently writing a program in Go and trying to implement a switch user functionality. However, I can't find a clean way of sending a password via stdin to su. sudo -S allows for stdin password ...
clubby789's user avatar
  • 217
0 votes
0 answers
72 views

Why terminal in Ubuntu 16 cannot find go version even after setting up path?

I followed the below steps to set up a workspace for go in ubuntu 16. 1.Downloaded go 1.14 version for linux from https://golang.org/ 2.Extracted it in the /usr/local using the command- sudo tar -C /...
JSnow's user avatar
  • 101
1 vote
1 answer
581 views

App is in task manager but not visible

I try to open GoLand and it shows up in task manager: But it doesn't show up in taskbar: Also pressing alt + tab doesn't show the app. Looks like the app is running but not visible. Did anybody run ...
Megidd's user avatar
  • 270
1 vote
2 answers
1k views

How to conditionally strip/compress binaries with alternate utilities (i. e. other than strip)

In our yocto-based embedded application, we now have several Golang binaries, which can become very large. For example, docker (from meta-virtualization) and related binaries weigh in with several 100 ...
Alexander Klauer's user avatar
1 vote
1 answer
814 views

How to use go modules on nested git packages?

I am trying to use pulsar from golang and i am trying to migrate my project from dep to go modules since some of the newer libraries prefer go modules. When i tried to create a new project and run ...
Mithran Kulasekaran's user avatar
0 votes
0 answers
143 views

golang command works like a forkbomb

When i run go run someapp or go version and all other go commands, it works like a forkbomb. It reproduces itself, until my RAM and SWAP is full. How to prevent it? Please note, that i changed the ...
MSauer's user avatar
  • 1
0 votes
1 answer
472 views

GoMobile tools are not recognised(Golang)

On installing Golang mobile tools on my Windows10-64bit machine,the gomobile tools are not recognised . The installation path is the GOROOT PATH C:\Go. GoVersion :- go1.11.5 windows/amd64 is ...
srt111's user avatar
  • 185
1 vote
0 answers
406 views

opnecv4.pc missing file and gocv

I am trying to make this code to work: package main import ( "gocv.io/x/gocv" ) func main() { webcam, _ := gocv.VideoCaptureDevice(0) window := gocv.NewWindow("Hello") img := gocv....
TomE8's user avatar
  • 111
1 vote
0 answers
234 views

How to set https proxy written in Golang system wide?

I have a proxy app written in Golang. For now the proxy requires no authentication. I can deploy it with or without tls certificates. At first I deployed it with tls certs. I tried connecting with ...
Mohi_k's user avatar
  • 11

15 30 50 per page