![]() |
Go Language Application Framework |
---|
This repository contains an application framework for the Go language, which will allow you to develop applications which utilize a number of features of your computer. It's targetted at the Raspberry Pi presently. The following features are intended to be supported:
It would also be great to support the following features in the future:
The tested requirements are currently:
In order to use the library, you'll need to have a working version of Go on your Raspberry Pi, which you can download. Then retrieve the library on your device, using:
go get github.com/djthorpe/gopi/v3
Some libraries will need to be installed for building, RPC and Media services. In order to satisfy these dependencies,
sudo apt install make protobuf-compiler libprotobuf-dev
Other dependencies will be satisfied when running the make
command.
In order to get started, build some of the examples in the "cmd" folder. They can be built with the makefile.
make all
will build the example commands into the build
folder;make test
runs all tests for the pkg
folder;make debian
will create .deb
packages which can be distributed;make clean
removes build intermediate files.Fuller documentation of the examples and developing your own code against this framework will be available in documentation.
Copyright 2016-2020 David Thorpe All Rights Reserved
Redistribution and use in source and binary forms, with or without modification, are permitted with some conditions.
This repository is released under the BSD License. Please see the file LICENSE.md for a copy of this license and for a list of the conditions for redistribution and use.