1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-02-24 19:09:30 +00:00
ceph-csi/vendor/github.com/pkg/browser/browser_windows.go

8 lines
192 B
Go
Raw Normal View History

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)
}