infinilabs / crawler

🕷️ An easy-to-use spider written in Golang. (previous named GOPA.)
Other
305 stars 82 forks source link

unknown field 'MaxConnsPerHost' in struct literal of type http.Transport #48

Closed a-whitej closed 4 years ago

a-whitej commented 4 years ago

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.10 Release: 18.10 Codename: cosmic

go version go version go1.10.7 linux/amd64

gopa git:(master) ✗ make building gopa 0.12.0_SNAPSHOT framework does not exist Cloning into 'framework'... remote: Enumerating objects: 226, done. remote: Counting objects: 100% (226/226), done. remote: Compressing objects: 100% (158/158), done. remote: Total 8626 (delta 117), reused 139 (delta 62), pack-reused 8400 Receiving objects: 100% (8626/8626), 43.81 MiB | 1.29 MiB/s, done. Resolving deltas: 100% (2175/2175), done. From https://github.com/infinitbyte/framework

chijiao commented 4 years ago

same error

chijiao commented 4 years ago

获取最新的软件包源,并添加至当前的apt库 add-apt-repository ppa:longsleep/golang-backports

更新 apt库 apt-get update

安装go sudo apt-get install golang-go

update go version

medcl commented 4 years ago

Upgrade your golang~