Starting the Notify Package

Learn how to create the notify package and set up the environment for it.

Unlike other applications we developed, notify won’t be an executable application. It will be a library that allows us to include system notifications in other applications. We’ll develop a naive but functional implementation that uses the os/exec package to call external programs that send a system notification. Because notifications vary according to the operating system, this is a practical example of how to use operating system–specific data and files in our applications.

Get hands-on with 1200+ tech skills courses.