mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
c82c580716
* Orbit: Add Fleet Desktop support to Windows * Rename workflow, fix linux build * Do not compile systray on linux * nolint on unused * Fix lint properly * nolint both checkers * Fix monitor logic in desktopRunner * Fix interrupt and execute order
12 lines
231 B
Go
12 lines
231 B
Go
package open
|
|
|
|
import "fmt"
|
|
|
|
// Browser opens the default browser at the given url and returns.
|
|
func Browser(url string) error {
|
|
if err := browser(url); err != nil {
|
|
return fmt.Errorf("open in browser: %w", err)
|
|
}
|
|
return nil
|
|
}
|