-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #678 from go-kit/test-commit
Fix Thrift, if it needs fixing
- Loading branch information
Showing
4 changed files
with
56 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
#!/usr/bin/env sh | ||
|
||
# See also https://thrift.apache.org/tutorial/go | ||
# See also https://thrift.apache.org/tutorial/go. | ||
# | ||
# An old version can be obtained via `brew install thrift`. | ||
# For the latest, here's the annoying dance: | ||
# | ||
# brew install automake bison pkg-config openssl | ||
# ln -s /usr/local/opt/openssl/include/openssl /usr/local/include # if it isn't already | ||
# git clone git@github.com:apache/thrift | ||
# ./bootstrap.sh | ||
# bash | ||
# export PATH=/usr/local/Cellar/bison/*/bin:$PATH | ||
# ./configure ./configure --without-qt4 --without-qt5 --without-c_glib --without-csharp --without-java --without-erlang --without-nodejs --without-lua --without-python --without-perl --without-php --without-php_extension --without-dart --without-ruby --without-haskell --without-rs --without-cl --without-haxe --without-dotnetcore --without-d | ||
# make | ||
# sudo make install | ||
|
||
thrift -r --gen "go:package_prefix=github.com/go-kit/kit/examples/addsvc/thrift/gen-go/,thrift_import=github.com/apache/thrift/lib/go/thrift" addsvc.thrift |
31 changes: 28 additions & 3 deletions
31
examples/addsvc/thrift/gen-go/addsvc/add_service-remote/add_service-remote.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.