This is a Go module that provides additional functionality to the standard library. It contains various packages and utilities that can be used to simplify Go programming.
- Package
clone
provides functionality to clone the data. - Package
contextualjson
provides a JSON marshaler that allows specifying a context and custom handlers for the serialization of struct fields. - Package
logger
provides interfaces for logging with various levels of verbosity and functionality. - Package
must
offers a convenient approach for transforming a two-value function into a single-value function by throwing a panic if an error is returned as the second value in the original function. - Package
pubsub
provides provides a simple publish-subscribe messaging system.
To use this module in your Go project, simply run the following command:
go get github.com/go-extras/go-kit
To use the packages provided by this module, simply import them in your Go code.
For more details on how to use each package, please refer to the individual package documentation.
Contributions are welcome! Please feel free to submit any issues or pull requests.
This module is licensed under the MIT License. See the LICENSE file for details.