goreplay编译最新master代码

gor打包最新master分支
1、安装gor
https://golang.org/doc/install?download=go1.15.6.linux-amd64.tar.gz

2、编译
https://github.com/buger/goreplay/wiki/Compilation

注意:libpcap解压在个人目录的话,注意创建一个软链接

参考 https://www.cnblogs.com/youxin/p/5116243.html
其中最后一步需要改成
# Compile from source
cd $HOME/gocode/src/github.com/buger/gor

go build .

原文地址:https://www.cnblogs.com/to-here/p/14229917.html