This repo contains extra files needed to add Go service for Narada projects.
There are different sets of files available in different branches:
- master
-
plugin files which you should merge into your project
- doc
-
(this branch) no plugin files, only documentation about this repo
Just merge this repo into your project’s repo:
git remote add narada-plugin-go-service -t master -m master \
-f https://github.com/powerman/narada-plugin-go-service.git
git merge narada-plugin-go-service
Then replace relative imports with absolute:
perl -i -pe 's{"([.][.]/)+}{"'$(dirname $(go list ./cfg))'/}g' $(find -name '*.go')
Documentation is in your project’s directory, see doc/narada-plugin-go-service.adoc.