OSDN Git Service

add package
[bytom/vapor.git] / vendor / github.com / hashicorp / go-plugin / examples / basic / README.md
diff --git a/vendor/github.com/hashicorp/go-plugin/examples/basic/README.md b/vendor/github.com/hashicorp/go-plugin/examples/basic/README.md
new file mode 100644 (file)
index 0000000..d83d1ba
--- /dev/null
@@ -0,0 +1,14 @@
+Plugin Example
+--------------
+
+Compile the plugin itself via:
+
+    go build -o ./plugin/greeter ./plugin/greeter_impl.go
+
+Compile this driver via:
+
+    go build -o basic .
+
+You can then launch the plugin sample via:
+
+    ./basic