mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 04:42:00 +08:00
12 lines
229 B
Go
12 lines
229 B
Go
package runtime
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// BrowserOpenURL uses the system default browser to open the url
|
|
func BrowserOpenURL(ctx context.Context, url string) {
|
|
appFrontend := getFrontend(ctx)
|
|
appFrontend.BrowserOpenURL(url)
|
|
}
|