Registry / utility / toast-v1

toast-v1

JSON →
library1.0.0-20180812000517-0a84660828b2gogounverified

A Go library for displaying toast notifications on Windows.

go get gopkg.in/toast.v1
INSTALL
IMPORT
SIG · TOAST-V1
T
toast-v1
utilitygov1.0.0-20180812000517-0a84660828b2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

toast
gopkg.in/toast.v1

Sends a Windows toast notification.

package main import ( "gopkg.in/toast.v1" ) func main() { notification := toast.Notification{ AppID: "Example", Title: "Hello", Message: "World", } err := notification.Push() if err != nil { panic(err) } }
Debug
Known issues
gotchaOnly works on Windows with toast support.
fix
Check runtime.GOOS before calling Push.
affects: all
Upgrade
Version history
1.0.0-20180812000517-0a84660828b2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
toast-v1 — go get toast-v1 · libregistry