package
2.3.1+incompatible
Repository: https://github.com/darealfreak/watcher-go.git
Documentation: pkg.go.dev

# Functions

CheckClosure checks for errors on closeable objects.
CheckClosureNonFatal checks for errors on closeable objects simply warning the user and not exiting the application.
CheckError checks if the passed error is not nil and passes it to the sentry DSN.
CheckErrorNonFatal checks if the passed error is not nil and pass it to the sentry DSN, contrary to CheckError the log will not be fatal resulting in the application to continue running.
CheckFileRemoval checks for errors while closing and removing the passed file.
CheckPathRemoval checks for errors while removing the passed path.
SetupSentry initializes the sentry.