That's right, I had modules enabled.
After moving the repo under go path src directory it worked fine.

echo $GOPATH
/Users/sidhesh/Development/gocode
~/Development/gocode/src/github.com/robaho/goanalyzer/cmd/goanalyzer$ go
build
~/Development/gocode/src/github.com/robaho/goanalyzer/cmd/goanalyzer$

On Sun, Aug 30, 2020 at 4:57 PM robert engels <reng...@ix.netcom.com> wrote:

> Tonight, I rebuilt and ran using Go 1.15 and it was fine (I cleared the
> entire build cache using -a). Maybe you have modules enabled?
>
> Here is the output:
>
> GOROOT=/usr/local/Cellar/go/1.15/libexec #gosetup
> GOPATH=/Users/robertengels/go #gosetup
> /usr/local/Cellar/go/1.15/libexec/bin/go build -a -o
> /private/var/folders/bb/dk8qf0zx6zg7kw3m6dgmj40h0000gn/T/___go_build_github_com_robaho_goanalyzer_cmd_goanalyzer_user
> . #gosetup
> /private/var/folders/bb/dk8qf0zx6zg7kw3m6dgmj40h0000gn/T/___go_build_github_com_robaho_goanalyzer_cmd_goanalyzer_user
> /Users/robertengels/go/src/
> github.com/robaho/goanalyzer/user_task_span_1_11_good #gosetup
> 2020/08/30 18:54:19 Parsing trace...
> 2020/08/30 18:54:19 Splitting trace...
> 2020/08/30 18:54:19 Opening browser. Trace viewer is listening on
> http://127.0.0.1:57135
>
>
> On Aug 29, 2020, at 7:43 PM, Robert Engels <reng...@ix.netcom.com> wrote:
>
> I have not tried building it in a while. I assume some internals have
> changed. I’ll look into it.
>
> On Aug 29, 2020, at 7:08 PM, Siddhesh Divekar <siddhesh.dive...@gmail.com>
> wrote:
>
> Hi,
>
> Has anyone tried building goanalyzer recently?
> Am I missing something very basic here.
>
> goanalyzer/cmd/goanalyzer$ ls
> annotations.go doc.go goroutines.go main.go pprof.go trace_test.go
> annotations_test.go goanalyzer.iml internal mmu.go trace.go
> trace_unix_test.go
>
> goanalyzer/cmd/goanalyzer$ go build
> annotations.go:10:2: use of internal package
> github.com/robaho/goanalyzer/cmd/goanalyzer/internal/trace not allowed
>
> --
> -Siddhesh.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/CAMjfk%2Bi%3DL%3Dg8t5%3DWayYuShN0mHQ-0DRhWh6G-wEDp%3D_pbJE8jA%40mail.gmail.com
> <https://groups.google.com/d/msgid/golang-nuts/CAMjfk%2Bi%3DL%3Dg8t5%3DWayYuShN0mHQ-0DRhWh6G-wEDp%3D_pbJE8jA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/3C3C5C76-16FD-4F8C-88F0-037C3E04DC6D%40ix.netcom.com
> <https://groups.google.com/d/msgid/golang-nuts/3C3C5C76-16FD-4F8C-88F0-037C3E04DC6D%40ix.netcom.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
-Siddhesh.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAMjfk%2Bj2KNwAJ5QxYyf7a6swBsmN5-xovp_dsjAPbRJLP_m_Qg%40mail.gmail.com.

Reply via email to