Skip to content

Commit cf0cfd1

Browse files
authored
Update README.md
1 parent b9a49e8 commit cf0cfd1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# go-bind-plugin [![Build Status](https://travis-ci.org/wendigo/go-bind-plugin.svg?branch=master)](https://travis-ci.org/wendigo/go-bind-plugin) [![Coverage Status](https://coveralls.io/repos/github/wendigo/go-bind-plugin/badge.svg?branch=master)](https://coveralls.io/github/wendigo/go-bind-plugin?branch=master) [![GoDoc](https://godoc.org/github.com/wendigo/go-bind-plugin/cli?status.svg)](https://godoc.org/github.com/wendigo/go-bind-plugin/cli) [![Go Report Card](https://goreportcard.com/badge/github.com/wendigo/go-bind-plugin)](https://goreportcard.com/report/github.com/wendigo/go-bind-plugin)
22

3+
> TL;DR: See end-to-end example in [go-bind-plugin-example](https://github.com/wendigo/go-bind-plugin-example).
4+
5+
36
**go-bind-plugin** is `go:generate` tool for building [golang 1.8 plugins](https://tip.golang.org/pkg/plugin) and generating wrappers around exported symbols (functions and variables).
47

58
## Usage
@@ -39,8 +42,6 @@ Usage of go-bind-plugin:
3942
//go:generate go-bind-plugin -format -plugin-package github.com/plugin_test/plug -rebuild -sha256 -dereference-vars -output-name TestPlugin -output-path tmp/plugin.go -plugin-path tmp/plugin.so -output-package wrapper
4043
`
4144

42-
See end-to-end example in [go-bind-plugin-example](https://github.com/wendigo/go-bind-plugin-example).
43-
4445
**go-bind-plugin** will do following things on invocation:
4546

4647
- build plugin to `tmp/plugin.so` (even if plugin exists it will be rebuilded) from package `github.com/plugin_test/plug` (must exist in $GOPATH or vendor/)

0 commit comments

Comments
 (0)