oxequa / realize

Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
GNU General Public License v3.0
4.46k stars 229 forks source link

non-standard import when running realize #256

Open GAZ082 opened 5 years ago

GAZ082 commented 5 years ago

Hey. Just implemented go modules on a project and when i run go run main.go works fine. But once I want to use realize for my dev workflow I get:

/usr/lib/go/src/crypto/tls/cipher_suites.go:17:2: non-standard import "golang.org/x/crypto/chacha20poly1305" in standard package "crypto/tls" /usr/lib/go/src/crypto/x509/x509.go:28:2: non-standard import "golang.org/x/crypto/cryptobyte" in standard package "crypto/x509" /usr/lib/go/src/net/dnsclient.go:11:2: non-standard import "golang.org/x/net/dns/dnsmessage" in standard package "net" /usr/lib/go/src/net/http/h2_bundle.go:48:2: non-standard import "golang.org/x/net/http/httpguts" in standard package "net/http"

[REALIZE] : 2.0.3 go version go1.13 linux/amd64

grzegorz-zur commented 5 years ago

The problem is caused by trying to run vgo. I fixed the problem on my fork https://github.com/grzegorz-zur/realize

winwisely99 commented 4 years ago

thanks @grzegorz-zur