removed/uninstalled older version from mac which I installed by brew from 
/usr/local/go
then downloaded tar and extracted to same folder from https://golang.org/dl/
setup path and goroot folders accordingly https://golang.org/doc/install

basically manual installation rather than brew

hope it will help



On Friday, January 19, 2018 at 7:19:01 PM UTC+5:30, wst...@gmail.com wrote:
>
> could you share how you solved this issue?
>
> 在 2017年12月6日星期三 UTC+8下午9:13:08,Abhijit Desai写道:
>>
>> it's sorted.. freshly installed
>>
>> On Wednesday, December 6, 2017 at 4:57:21 PM UTC+4, Abhijit Desai wrote:
>>>
>>> getting below issue while building on Mac.. please help
>>>
>>>
>>>
>>> go build myapp.go
>>> /usr/local/go/src/crypto/tls/cipher_suites.go:18:2: cannot find package 
>>> "golang_org/x/crypto/chacha20poly1305" in any of:
>>> /usr/local/go/src/golang_org/x/crypto/chacha20poly1305 (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/crypto/chacha20poly1305 (from $GOPATH)
>>> /usr/local/go/src/crypto/tls/key_agreement.go:20:2: cannot find package 
>>> "golang_org/x/crypto/curve25519" in any of:
>>> /usr/local/go/src/golang_org/x/crypto/curve25519 (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/crypto/curve25519 (from $GOPATH)
>>> /usr/local/go/src/net/http/h2_bundle.go:46:2: cannot find package 
>>> "golang_org/x/net/http2/hpack" in any of:
>>> /usr/local/go/src/golang_org/x/net/http2/hpack (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/net/http2/hpack (from $GOPATH)
>>> /usr/local/go/src/net/http/h2_bundle.go:47:2: cannot find package 
>>> "golang_org/x/net/idna" in any of:
>>> /usr/local/go/src/golang_org/x/net/idna (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/net/idna (from $GOPATH)
>>> /usr/local/go/src/net/http/h2_bundle.go:48:2: cannot find package 
>>> "golang_org/x/net/lex/httplex" in any of:
>>> /usr/local/go/src/golang_org/x/net/lex/httplex (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/net/lex/httplex (from $GOPATH)
>>> /usr/local/go/src/net/http/transport.go:32:2: cannot find package 
>>> "golang_org/x/net/proxy" in any of:
>>> /usr/local/go/src/golang_org/x/net/proxy (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/net/proxy (from $GOPATH)
>>> /usr/local/go/src/net/interface_bsd.go:12:2: cannot find package 
>>> "golang_org/x/net/route" in any of:
>>> /usr/local/go/src/golang_org/x/net/route (from $GOROOT)
>>> /Users/xyz/go/src/golang_org/x/net/route (from $GOPATH)
>>> import cycle not allowed
>>> package archive/zip
>>> imports bufio
>>> imports bytes
>>> imports errors
>>> imports runtime
>>> imports runtime/internal/atomic
>>> imports runtime
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to