UnnoTed / fileb0x

a better customizable tool to embed files in go; also update embedded files remotely without restarting the server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple example errors

runeimp opened this issue · comments

So I tried the example as per the README on my MBP (Mojave) system and got to...

$ go generate
go: finding module for package example.com/foo/simple/static
go: downloading golang.org/x/net v0.0.0-20180921000356-2f5d2388922f
go: downloading github.com/labstack/echo v3.2.1+incompatible
go: downloading github.com/karrick/godirwalk v1.7.3
go: downloading github.com/airking05/termui v2.2.0+incompatible
verifying github.com/karrick/godirwalk@v1.7.3: checksum mismatch
        downloaded: h1:e5iv87oxunQtG7S9MB10jrINLmF7HecFSjiTYKO7P2c=
        go.sum:     h1:UP4CfXf1LfNwXrX6vqWf1DOhuiFRn2hXsqtRAQlQOUQ=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
main.go:1: running "go": exit status 1
$ go build
go: finding module for package example.com/foo/simple/static
main.go:10:2: cannot find module providing package example.com/foo/simple/static: unrecognized import path "example.com/foo/simple/static": reading https://example.com/foo/simple/static?go-get=1: 404 Not Found
$ go version go1.15.7 darwin/amd64

I don't know if the security error is also causing the module finding logic to fail as well. Any thoughts?

Fixed by #57

but you can also just run go get github.com/karrick/godirwalk to update the dependency that raised the error