Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wobsoriano/go-mac-notifier

Send desktop notifications to OSX 10.9 or higher.
https://github.com/wobsoriano/go-mac-notifier

go golang

Last synced: about 2 months ago
JSON representation

Send desktop notifications to OSX 10.9 or higher.

Awesome Lists containing this project

README

        

# go-mac-notifier

Send desktop notifications to OSX 10.9 or higher.

![](sample.png)

## Install

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

## Usage

```go
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