Skip to content

Commit 45cc05f

Browse files
authored
docs: Clean up deprecated code in README.md
Removed player.Close related code, which is deprecated now.
1 parent 1de5e69 commit 45cc05f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,6 @@ func main() {
155155
// }
156156
// println("Player is now at position:", newPos)
157157
// player.Play()
158-
159-
// If you don't want the player/sound anymore simply close
160-
err = player.Close()
161-
if err != nil {
162-
panic("player.Close failed: " + err.Error())
163-
}
164158
}
165159
```
166160

0 commit comments

Comments
 (0)