go-notifier
go-notifier copied to clipboard
go-notifier: Cross platform system notifications in go (golang)
Fix build errors on current versions of macOS and Go due to Cgo changes in Go 1.10: https://tip.golang.org/doc/go1.10#cgo. Issues with: * The `-sectcreate` linker flag * Using `nil` with CoreFoundation...
```sh ~/go/src/github.com/keybase/go-notifier(master) $ go build go build github.com/keybase/go-notifier: invalid flag in #cgo LDFLAGS: -sectcreate ~/go/src/github.com/keybase/go-notifier(master) $ go version go version go1.11.1 darwin/amd64 ``` MacOS version: 10.13.6 (17G2307)