Questions tagged [go]

25 questions
2
votes
1 answer

program 'go' is currently not installed on ubuntu 16.04

I ran a sudo apt-get install golang-1.9 from my regular user account on my ubuntu 16.04 and it said everything installed correctly. So then I typed go version and verified I had the right version. Then I shut down my computer. Then I turned on my…
learningtech
  • 7,445
  • 23
  • 64
  • 88
1
vote
1 answer

Golang PUT using form data and file

I'm fairly new to learning golang, but I hope someone can help... I'm trying to replicate a process I can do using curl. Essentially I need to create a PUT request, using form data and the contents of a file. The `curl request looks like this: curl…
0
votes
1 answer

Idflags is not working for setting Version for go build

I am fairly new to using Go and I have noticed when I build the Go project I have cloned from GitHub via: $ go build The executable is built, but when I run: $ mediamtx --version I get v0.0.0 I Googled the issue and found that I could set the…