Skip to content

Commit fca52fc

Browse files
authored
all: clean up deprecated code in README.md (#271)
Removed player.Close related code, which is deprecated now.
1 parent 1de5e69 commit fca52fc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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)