Basic plugin system with centralized registry
This commit is contained in:
11
example/pluggable/Makefile
Normal file
11
example/pluggable/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
build: extension
|
||||
go build -o ./bin/app ./
|
||||
|
||||
extension:
|
||||
go build -o ./bin/myplugin.so -buildmode=plugin ./myplugin
|
||||
|
||||
watch:
|
||||
modd
|
||||
|
||||
run:
|
||||
./bin/app
|
Reference in New Issue
Block a user