go-check

A Golang library to create monitoring plugins

Release v1.0.0-rc1

What's Changed

Breaking changes

  • Refactored status to be a type. The Status type now implements the Stringer interface

Exit codes are now represented by a Status type instead of an integer. The previous constants have been replaced by this type. A constructor from an integer and string was added.

NewStatus(status int) (Status, error)
NewStatusFromString(status string) (Status, error)

The StatusText function was replaced by implementing the Stringer interface in the Status type

  • Removed ExitRaw, replaced by Exit

Exit is now the primary function to handle program exit and status code handling.

  • Removed Exitf, replaced by Exit and fmt.Sprintf

Exitf was removed and should be replaced by using Exit with fmt.Sprintf

# Was
check.Exitf(check.OK, "Everything is fine - answer=%d", 42)

# Now
check.Exit(check.OK, fmt.Sprintf("Everything is fine - value=%d", 42))

Full Changelog: https://github.com/NETWAYS/go-check/compare/v0.6.4...v1.0.0-rc1

go-check-v1.0.0-rc1.tar.gz

Release tarball
application/gzip 2026-06-09 Download from Github

Release v0.6.4

What's Changed

Full Changelog: https://github.com/NETWAYS/go-check/compare/v0.6.3...v0.6.4

go-check-v0.6.4.tar.gz

Release tarball
application/gzip 2026-01-07 Download from Github

Release v0.6.3

What's Changed

New Contributors

Full Changelog: https://github.com/NETWAYS/go-check/compare/v0.6.2...v0.6.3

go-check-v0.6.3.tar.gz

Release tarball
application/gzip 2025-10-16 Download from Github