Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 465 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 465 Bytes

Golang 1.8beta1 plugin example

For more informations about GoLang plugins check the official documentation.

Build and run the example using Docker

docker run -it --entrypoint bash golang:1.8beta1-wheezy
go get github.com/devalecs/go-plugin-example && cd $GOPATH/src/github.com/devalecs/go-plugin-example
go build -buildmode=plugin -o hello.so hello_plugin.go
go run main.go

Output

Hello Alex!