참고 : https://www.thethingsnetwork.org/docs/applications/golang/quick-start.html
Assuming you're working on a project github.com/your-username/your-project
:
sudo apt update
sudo apt upgrade
sudo apt-get install golang
mkdir -p $GOPATH/src/github.com/YOUR_USERNAME/ttn-app
cd $GOPATH/src/github.com/YOUR_USERNAME/ttn-app
go get -u github.com/TheThingsNetwork/go-app-sdk/...
sudo apt-get install govendor
cd $GOPATH/src/github.com/TheThingsNetwork/go-app-sdk
govendor init
govendor sync
main.go upload!
See the examples on GoDoc.
Source code for The Things Network is released under the MIT License, which can be found in the LICENSE file. A list of authors can be found in the AUTHORS file.