Questions tagged [golang]

Aka: go, "a compiled, statically typed language in the tradition of Algol and C" (wikipedia) created by Google.

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

What is the frequency and cycle length of the pigpio library?

I've got a raspi 3b with an esc and a brushless motor attached. I can run the motor using pigpio the following commands: # First start the pigpio daemon sudo pigpiod # calibrate the esc pigs s 12 ...
1
vote
1answer
244 views

spi/mcp3008 trouble with getting a reading from chip, all channels read 0 (zero)

Pi model: Pi 3 A+ Os: Raspbian GNU/Linux 9 (stretch) <- it's stretch lite SPI: On Loop back test: spi mode: 0x0 bits per word: 8 max speed: 500000 Hz (500 KHz) TX | FF FF FF FF FF FF 40 00 00 ...
1
vote
0answers
77 views

Running cockroachdb on a Raspberry pi 2 model b (32-bit) as a docker container

I'm trying to run cockcroachdb on a Raspberry Pi within a docker container, but they only provide 64-bit versions of cockroach as they explained it here . But I do see references of running cockroach ...
3
votes
2answers
4k views

Docker run “someImage” returns: standard_init_linux.go190: exec user process caused “no such file or directory”

As the title said, I cannot reproduce this kind of error in any Dockerfiles of mine, after trying to run the Docker Container with docker run registryName:tag I'm trying to cross compile from amd64 ...
0
votes
1answer
46 views

Permissions for tar extraction

I just got a raspberry pi 3 and I am trying to install golang 1.8.5. However, when I tried to extract the tar.gz file to the usr/local/ directory, I got an error message saying that I did not have ...
4
votes
1answer
120 views

Are binaries generated by Golang portable between Pi versions?

I installed golang via (on RPi3, Raspbian Stretch) sudo apt install golang Currently go version reports go version go1.7.4 linux/arm I successfully compiled and ran some go program that toggles ...
3
votes
1answer
712 views

How can I install keybase (and dependencies) without running out of memory?

I have a Raspberry Pi 3 running the most recent Raspbian distro. I've installed the most recent go, from the prebuilt package and have it on my path: $ go version go version go1.9 linux/arm However,...
0
votes
1answer
141 views

Debugging with the Raspberry Pi

I am currently working on https://yfirbord.com I've just started playing around with the GrovePi and I wonder: what's the fastest way to write code on my mac, compile it for the RaspberryPi, ship it ...
4
votes
1answer
3k views

How to run a golang program in the background?

I made a program in Go. That program compiles and runs very well on the raspi, when I start it via ssh. To start the program correct, I need to set some flags. myservice -port :1234 The program is a ...
7
votes
3answers
15k views

Install golang the easy way

I'd like to use the Pis with Raspbian to run Go code. For this, I like to write an easy and fast setup guide from the point you erase the SD card. During the development, I installed Go on the Pis ...