quabynahdavis/soundkit.go ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Go sound kit library that makes it easy to work with audio from one clean entry point.
I want a small but solid package with a friendly facade, clear constants and error handling, and the lower level pieces organized in a way that keeps the code easy to use and maintain. Please include a few practical examples so I can see how someone would initialize it, load sounds, play them, stop them, and handle mistakes without the app crashing. Add tests for the main behavior too, and make sure the docs are good enough that a beginner can figure it out quickly.
Keep the public API simple and sensible, and if you need to check current Go or audio related docs online while building it, go ahead. I mainly want something that feels polished and ready to use, not a rough proof of concept.
Are you gonna build this?
make sure you review the code using coderabbit