oper

package module
v0.0.0-...-c3b3f08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 3 Imported by: 0

README

oper

调用操作系统默认浏览器来访问指定的链接

许可证

MIT

Documentation

Overview

oper 可以调用操作系统默认浏览器来访问指定的链接

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(uri string) (err error)

Access 指定一个链接地址,并调用系统默认浏览器访问

Example

示例

err := Access("https://golang.google.cn")
if err != nil {
	fmt.Println(err)
}
fmt.Println(err)
Output:

nil

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL