1 微服务业务分析
thrift 官网
安装
下载 boost
如果報錯error:
Bison version 2.5 or higher must be installed on the system!
解決辦法:mac中默認安裝了bison 2.3版本,並配置了路徑在path中。安裝最新的版本3.0.5, 並將/usr/bin中的bison刪除,將bison 3.0.5 複製到/usr/bin中
cd /usr/bin brew install bison brew unlink bisonsource ~/.bash_profile 或者export PATH=/usr/local/Cellar/bison/3.0.5/bin:$PATH
新建 demo 文件
生成对应语言文件
生成众多的方法
作者:芥末无疆sss
链接:https://www.jianshu.com/p/be4af1cf9aaa
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。