Skip to content

Mobilpadde/notifyxf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotifyXF

Go Reference

What

This is a package to make it easier to use notifyxf.com in projects.

Usage

If you want to control what notifications you'll get, please use the notifyxf.Notify-func.

tkn := "...notifyxf token..."

n, err := notifyxf.NewNotifier(os.Getenv("NOTIFYXF_TOKEN"))
if err != nil {
    panic(err)
}

n.Notify("some message")

For more information, take a look at the docs.