435c0d9fc8
This PR switches the Nomad repository from using govendor to Go modules for managing dependencies. Aspects of the Nomad workflow remain pretty much the same. The usual Makefile targets should continue to work as they always did. The API submodule simply defers to the parent Nomad version on the repository, keeping the semantics of API versioning that currently exists. |
||
---|---|---|
.. | ||
.gitignore | ||
LICENSE | ||
README.md | ||
builtin.go | ||
go.mod | ||
syslog.go | ||
unix.go | ||
unsupported.go |
README.md
go-syslog
This repository provides a very simple gsyslog
package. The point of this
package is to allow safe importing of syslog without introducing cross-compilation
issues. The stdlib log/syslog
cannot be imported on Windows systems, and without
conditional compilation this adds complications.
Instead, gsyslog
provides a very simple wrapper around log/syslog
but returns
a runtime error if attempting to initialize on a non Linux or OSX system.