Remove redundant stream utility helpers

This commit is contained in:
Salastil
2025-11-22 21:15:27 -05:00
parent 30a03db923
commit 7511e0d8c1
2 changed files with 14 additions and 94 deletions
+14
View File
@@ -0,0 +1,14 @@
package internal
import (
"errors"
"os/exec"
)
// openBrowser tries to open the embed URL in the system browser.
func openBrowser(link string) error {
if link == "" {
return errors.New("empty URL")
}
return exec.Command("xdg-open", link).Start()
}