Error during build. Several undefined things in wav.go
When trying to build or run the project I get the following error:
```
wav/wav.go:213:32: undefined: models
wav/wav.go:214:27: undefined: base64
wav/wav.go:219:9: undefined: time
wav/wav.go:240:13: undefined: utils
wav/wav.go:241:10: undefined: context
wav/wav.go:243:10: undefined: utils
wav/wav.go:245:11: undefined: xerrors
wav/wav.go:246:54: undefined: slog
wav/wav.go:252:53: undefined: slog
wav/wav.go:256:2: undefined: utils
wav/wav.go:256:2: too many errors
```
All these errors come from the `ProcessRecording` function in the `wav/wav.go` file. Looking at the git history I noticed that this function was moved from `utils/helpers.go` to `wav/wav.go` in #29. But the variables and structs that it depended on were not moved or imported in the new file, which lead to all these errors. I'm guessing @JChris246 didn't test the code but I might be wrong.
关闭于 2025-03-28 3 条评论