stash/pkg/plugin/examples
Eng Zer Jun 62af723017
refactor: move from io/ioutil to io and os package (#1772)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-09-27 10:55:23 +10:00
..
common Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
goraw refactor: move from io/ioutil to io and os package (#1772) 2021-09-27 10:55:23 +10:00
gorpc Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
js Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
python Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
README.md Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00

README.md

Building

From the base stash source directory:

go build -tags=plugin_example -o plugin_goraw.exe ./pkg/plugin/examples/goraw/...
go build -tags=plugin_example -o plugin_gorpc.exe ./pkg/plugin/examples/gorpc/...

Place the resulting binaries together with the yml files in the plugins subdirectory of your stash directory.