mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
8 lines
192 B
Go
8 lines
192 B
Go
|
package browser
|
||
|
|
||
|
import "golang.org/x/sys/windows"
|
||
|
|
||
|
func openBrowser(url string) error {
|
||
|
return windows.ShellExecute(0, nil, windows.StringToUTF16Ptr(url), nil, nil, windows.SW_SHOWNORMAL)
|
||
|
}
|