httprobe icon indicating copy to clipboard operation
httprobe copied to clipboard

error when i run go get -u

Open prosecurity opened this issue 5 years ago • 2 comments

package bufio: unrecognized import path "bufio" (import path does not begin with hostname) package crypto/tls: unrecognized import path "crypto/tls" (import path does not begin with hostname) package flag: unrecognized import path "flag" (import path does not begin with hostname) package fmt: unrecognized import path "fmt" (import path does not begin with hostname) package net/http: unrecognized import path "net/http" (import path does not begin with hostname) package os: unrecognized import path "os" (import path does not begin with hostname) package strings: unrecognized import path "strings" (import path does not begin with hostname) package sync: unrecognized import path "sync" (import path does not begin with hostname) package time: unrecognized import path "time" (import path does not begin with hostname)

prosecurity avatar Jul 24 '19 14:07 prosecurity

Hey!

I think your Go installation is a bit messed up. Specifically I think $GOROOT may be set to the wrong value (and/or you're using a very old version of Go)

Did you install Go by downloading a package from the Go website, or did you install it with a package manager or through some other means?

Thanks!

tomnomnom avatar Jul 24 '19 20:07 tomnomnom

EDIT

Solved! Solution


go get -u github.com/tomnomnom/httprobe not work for me. I installed go with brew installer

cyb3rsalih avatar Aug 23 '19 18:08 cyb3rsalih