This is a creation in Article, where the information may have evolved or changed.
Similar to the above, it is also a problem in installing BLEVE, the full-text search engine.
Compile error message
"golang.org/x/text/unicode/norm"in any of:/Users/.../projects/go-projects/src/github.com/blevesearch/bleve/vendor/golang.org/x/text/unicode/norm (vendor tree)/usr/local/go/src/golang.org/x/text/unicode/norm (from $GOROOT)/Users/.../projects/go-projects/src/golang.org/x/text/unicode/norm (from $GOPATH)
Solution Solutions
cd src/golang.org/xgit clone git@github.com:weisd/golang.org-x-text.git1
Related instructions
- Some of the package images in the relevant vendor manifest configuration file corresponding to the address can not be downloaded such as the following:
Https://github.com/blevesearch/bleve/blob/master/vendor/manifest
"importpath""golang.org/x/text/unicode/norm","repository""https://go.googlesource.com/text",
- From the above, Https://go.googlesource.com/text this warehouse outside the wall, sometimes the wall can not open, we can directly find other alternative images to manually install the way to solve
- If some address download is a compressed package, then you need to do: Download, unzip, replace the steps
- A reference issue on GitHub is attached here
Reference
- Https://gopm.io/download?pkgname=golang.org/x/text
- Https://golanglibs.com/search?q=golang.org%2Fx%2Ftext
- Https://gowalker.org/github.com/weisd/golang.org-x-text
- Https://github.com/weisd/golang.org-x-text