Closed a-whitej closed 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
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
../framework/core/util/webhunter.go:385:17: unknown field 'MaxConnsPerHost' in struct literal of type http.Transport
same error
获取最新的软件包源,并添加至当前的apt库 add-apt-repository ppa:longsleep/golang-backports
更新 apt库 apt-get update
安装go sudo apt-get install golang-go
update go version
Upgrade your golang~
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
github.com/infinitbyte/framework/core/util
../framework/core/util/webhunter.go:385:17: unknown field 'MaxConnsPerHost' in struct literal of type http.Transport