You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: alert_darwin.go
    path of file: ./repos/cointop/vendor/github.com/gen2brain/beeep
    
    the code of the file until where you have to start completion: // +build darwin,!linux,!freebsd,!netbsd,!openbsd,!windows,!js

package beeep

import "os/exec"

// Alert displays a desktop
    
func Alert(title, message, appIcon string) error {
	osa, err := exec.LookPath("osascript")
	if err != nil {
		return err
	}

	cmd := exec.Command(osa, "-e", `tell application "System Events" to display notification "`+message+`" with title "`+title+`" sound name "default"`)
	return cmd.Run()
}