Commit b99cd12
committed
fix(audio): rename Seek to SeekTo to resolve interface conflict
The Seek method signature conflicted with Go's standard io.Seeker
interface, which expects Seek(int64, int) (int64, error). This method
uses different semantics (timestamp-based seeking rather than
byte-offset seeking), making the name conflict confusing.
Renaming to SeekTo clarifies the intent and eliminates the interface
signature mismatch caught by go vet.
- Rename Seek(int64) error to SeekTo(int64) error in reader.go
- Update call site in analyzer_output.go
Signed-off-by: Martin Wimpress <code@wimpress.io>1 parent 7f71743 commit b99cd12
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments