2016-12-30 90 views
0

嘗試在GO中安裝StackImpact時出現以下錯誤。有誰知道如何修理它?嘗試在GO中安裝StackImpact庫時發生錯誤

TNX ..

Microsoft Windows [versão 6.1.7601] 
Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados. 
C:\Users\leonardo>go get github.com/stackimpact/stackimpact-go 
# github.com/stackimpact/stackimpact-go/internal 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:96: undefined: syscall.Getrusage 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:102: rusage.Utime undefined (type *syscall.Rusage has no field or method Utime) 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:103: rusage.Utime undefined (type *syscall.Rusage has no field or method Utime) 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:104: rusage.Stime undefined (type *syscall.Rusage has no field or method Stime) 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:105: rusage.Stime undefined (type *syscall.Rusage has no field or method Stime) 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:112: undefined: syscall.Getrusage 
C:\gowork\src\github.com\stackimpact\stackimpact-go\internal\process_reporter.go 
:117: rusage.Maxrss undefined (type *syscall.Rusage has no field or method Maxrs 
s) 
C:\Users\leonardo> 

回答

0

的Windows支持從代理版本1.2.2開始。