You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work for MinIO company. And lately I've been working to understand this issue below coming from go-ieproxy:
# github.com/mattn/go-ieproxy
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:36:9: undefined: getConf
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:41:9: undefined: reloadConf
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:48:2: undefined: overrideEnvWithStaticProxy
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:53:12: psc.findProxyForURL undefined (type *ProxyScriptConf has no field or method findProxyForURL, but does have FindProxyForURL)
I decided to isolate this from our code to understand better, and this is what I did:
Created a tmp directory under my home
cloned this repository
created these files below and performed cross compilation:
cniackz:/Users/cniackz/tmp # CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 GO111MODULE=on go build
cniackz:/Users/cniackz/tmp # CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 GO111MODULE=on go build# github.com/mattn/go-ieproxy
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:36:9: undefined: getConf
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:41:9: undefined: reloadConf
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:48:2: undefined: overrideEnvWithStaticProxy
../go/pkg/mod/github.com/mattn/[email protected]/ieproxy.go:53:12: psc.findProxyForURL undefined (type *ProxyScriptConf has no field or method findProxyForURL, but does have FindProxyForURL)
Notice how above is failing the same way, the question I have is:
Why getConf is undefined?, If I can see it is defined for darwin under ieproxy_darwin.go
// GetConf retrieves the proxy configuration from the Windows RegeditfuncgetConf() ProxyConf {
once.Do(writeConf)
returndarwinProxyConf
}
Can you help me to understand better what could be?.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered:
Hello guys,
I work for
MinIO
company. And lately I've been working to understand this issue below coming fromgo-ieproxy
:I decided to isolate this from our code to understand better, and this is what I did:
test.go
go.mod
go.sum
Cross compilation
Notice how above is failing the same way, the question I have is:
Why
getConf
is undefined?, If I can see it is defined fordarwin
underieproxy_darwin.go
Can you help me to understand better what could be?.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: