Open huangchanghuai opened 2 years ago
The error info:
2022-02-23 01:08:29.566 go build -o ./bin/linux_amd64/main .\main.go 2022-02-23 01:08:31.543 failed to build, os:linux, arch:amd64, error: # gaosomebloggfv1/app/service app\service\search.go:16:15: undefined: gojieba.NewJieba
I've already installed it and "go mod tidy"
I has same error, but build on mac with the command of "go mod tidy && GOOS=linux GOARCH=amd64 go build -o main"
The error info:
I've already installed it and "go mod tidy"