From bea415417e87fbb403095e8cd3fb8512a1a97af8 Mon Sep 17 00:00:00 2001 From: Vadim Markovtsev Date: Fri, 10 Jun 2016 18:49:50 +0200 Subject: Add cshared files to allow building wrappers in other languages --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 57f7f64..4ce3ed1 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,14 @@ fmt.Println(commit) ``` +Wrapping +-------- + +go-git can be wrapped into any language which supports shared library interop. +[Python wrapper](https://github.com/src-d/gypogit) already exists. +This is provided by "cshared" [cgo](https://golang.org/cmd/cgo/) files which can be built +with `go build -o libgogit.so -buildmode=c-shared github.com/src-d/go-git/cshared`. + Acknowledgements ---------------- -- cgit