Skip to content

wobsoriano/go-mac-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mac-notifier

Send desktop notifications to OSX 10.9 or higher.

Install

$ go get github.com/wobsoriano/go-mac-notifier

Usage

package main

import (
  "log"

  "github.com/wobsoriano/go-mac-notifier"
)

func main() {
  options := notifierOptions{
    title: "News",
    text: "You are amazing.",
    subtitle: "My subtitle",
    sound: "Hero", // Check ~/Library/Sounds or /System/Library/Sounds for available sounds
  }

  err := notifier.DisplayNotification(options)
}

License

MIT

About

Send desktop notifications to OSX 10.9 or higher.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages