Go library for Revolution Pi
Posted: 02 Feb 2018, 00:56
Hi world,
I have ported the piControl C interface to the Go language:
https://github.com/mezzato/revpi
All the details are on the page.
Since C and Python seemed to be the languages of choice (and this makes perfect sense in many cases) but I prefer Go to write extensive code for the Raspberry Pi I decided to port the system calls of the piControl to Go. It turned out to be a straightforward task.
If you like Go approach to concurrency and you need modern Web libraries you may find this project useful.
The project can be compiled cross-platform and besides the Go code there are CMake files to cross-compile the piControl and piTest C code as well.
Enrico
I have ported the piControl C interface to the Go language:
https://github.com/mezzato/revpi
All the details are on the page.
Since C and Python seemed to be the languages of choice (and this makes perfect sense in many cases) but I prefer Go to write extensive code for the Raspberry Pi I decided to port the system calls of the piControl to Go. It turned out to be a straightforward task.
If you like Go approach to concurrency and you need modern Web libraries you may find this project useful.
The project can be compiled cross-platform and besides the Go code there are CMake files to cross-compile the piControl and piTest C code as well.
Enrico