With golang installed from a snap, ModuleIsLoaded() always exited with status 1 - I think because it doesn't have permission to run the pacmd command. Using "normal" golang (downloaded from the go website) does not have the same problem.
I'm not sure what the answer is, a line in the README to warn users maybe? But I wanted to mention it in case anyone else hit the same thing.
With golang installed from a snap, ModuleIsLoaded() always exited with status 1 - I think because it doesn't have permission to run the
pacmdcommand. Using "normal" golang (downloaded from the go website) does not have the same problem.I'm not sure what the answer is, a line in the README to warn users maybe? But I wanted to mention it in case anyone else hit the same thing.