Sha256: 5e5e01012741ccd26ec5e9f622642a5fa87245704eb45e8bfdef6f16d1237b67

Contents?: true

Size: 192 Bytes

Versions: 16

Compression:

Stored size: 192 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.6 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.5 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.4 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.2 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.1 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.3.0 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.2.1 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.2.0 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.1.1 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.1.0 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.0.2 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.0.1 ext/vendor/github.com/pkg/browser/browser_windows.go
ruby_snowflake_client-1.0.0 ext/vendor/github.com/pkg/browser/browser_windows.go