Go(golang) Binding to the mecab-ko
You need to tell Go where MeCab has been installed.
CGO_CFLAGS=-I/path/to/include -I./ CGO_LDFLAGS=-L/path/to/lib -lmecab -lstdc++ -Wl,-rpath,/path/to/lib -lmecab go get github.com/torden/go-mecab
If you installed mecab-config, execute following comands.
CGO_CFLAGS="`mecab-config --cflags` -I./" CGO_LDFLAGS="`mecab-config --libs` -Wl,-rpath,`mecab-config --libs-only-L`" go get github.com/torden/go-mecab
If you installed mecab pkg in this repository, execute following comands.
go get github.com/torden/go-mecab
Please feel free. I hope it is helpful for you