Documentation ¶ Index ¶ func Open(url string) error func WaitAndOpen(ctx context.Context, url string, automatic bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Open ¶ func Open(url string) error Open opens the specified URL in the user's default browser. func WaitAndOpen ¶ func WaitAndOpen(ctx context.Context, url string, automatic bool) WaitAndOpen prints a message and waits for the user to press Enter before opening the specified URL. It stops waiting and does not open the browser if the context is canceled. Types ¶ This section is empty. Source Files ¶ View all Source files browser.go Click to show internal directories. Click to hide internal directories.