mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 06:01:52 +08:00
15 lines
259 B
Go
15 lines
259 B
Go
//go:build darwin
|
|
// +build darwin
|
|
|
|
package darwin
|
|
|
|
import (
|
|
"github.com/pkg/browser"
|
|
)
|
|
|
|
// BrowserOpenURL Use the default browser to open the url
|
|
func (f *Frontend) BrowserOpenURL(url string) {
|
|
// Specific method implementation
|
|
_ = browser.OpenURL(url)
|
|
}
|