mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-09 04:00:34 +08:00
add vendor packages避免用户网络太慢无法下载编译
This commit is contained in:
9
vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go
generated
vendored
Normal file
9
vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// +build !go1.5
|
||||
|
||||
package metrics
|
||||
|
||||
import "runtime"
|
||||
|
||||
func gcCPUFraction(memStats *runtime.MemStats) float64 {
|
||||
return 0
|
||||
}
|
Reference in New Issue
Block a user