mirror of
https://github.com/taigrr/wasm-experiments
synced 2025-01-18 04:03:21 -08:00
11 lines
169 B
Go
11 lines
169 B
Go
package browser
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
func openBrowser(url string) error {
|
|
r := strings.NewReplacer("&", "^&")
|
|
return runCmd("cmd", "/c", "start", r.Replace(url))
|
|
}
|