$ cd _example/simple/
/_example/simple$ go generate
go: finding module for package example.com/foo/simple/static
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
Example
simple
not working:Used go1.13.12
I found issue in project karrick/godirwalk - https://github.com/karrick/godirwalk/issues/19 it's problem manifests itself in go1.11.4 https://github.com/golang/go/issues/29278