Genut
Genut is a tool designed to simplify development, security, and operations tasks for the DG project.
Overview
This tool provides functionalities for generating automatically generated mocks using mockgen
and wrapping files as needed. It is built using the Go programming language.
Installation
To install genut
, you need to have Go installed on your machine. You can then use the following command:
go install github.com/RanguraGIT/genut@latest
Usage
The tool comes with a command-line interface to execute its functionalities.
Generate Command
The generate command allows you to trigger various code generation actions, such as generating mocks and wrappers.
genut generate [flags]
Available flags:
--config
: Generate config for genut.
--mocks
: Generate mockgen mocks.
Contributing
Contributions are welcome! If you have suggestions, bug reports, or feature requests, please open an issue or a pull request in this repository.
License
This project is licensed under the MIT License.