This is a collection of examples. Tested on:
dep version
)Each examples has a Makefile with 4 targets:
make deploy
(or just make) deploys the action, precompiling itmake devel
deploys the action in source format, leaving the compilation to the runtimemake test
runs a simple test on the action; it should be already deployedclean
removes intermediate filesAvailable examples:
main.Main
main.Hello
main.Main
invoking a hello.Hello
main.Main
using a dependency github.com/rs/zerolog
main.Hello
invoking a hello.Hello
using a dependency github.com/sirupsen/logrus
main.main
, implements the ActionLoop directly