From 7e883c30d5231b31433a1e5417afee1f44c8c3d6 Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Fri, 28 Mar 2025 02:30:50 +0100 Subject: [PATCH] fix #34: add missing imports wav.go --- wav/wav.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wav/wav.go b/wav/wav.go index 240b370..1b05186 100644 --- a/wav/wav.go +++ b/wav/wav.go @@ -2,14 +2,22 @@ package wav import ( "bytes" + "context" + "encoding/base64" "encoding/binary" "encoding/json" "errors" "fmt" "io/ioutil" + "log/slog" "os" "os/exec" + "song-recognition/models" + "song-recognition/utils" "strings" + "time" + + "github.com/mdobak/go-xerrors" ) // WavHeader defines the structure of a WAV header