module
Version:
v0.0.0-...-932180f
Opens a new window with list of versions in this module.
Published: Dec 15, 2021
License: MIT
Opens a new window with license information.
README
¶
mt-back-generator
Preinstallation
For using this app install:
-
Golang
-
Docker and execute Post-installation steps
-
Gomock using command:
GO111MODULE=on go get github.com/golang/mock/mockgen
-
Connecting to GitHub with SSH
Installation
git clone git@github.com:mtgroupit/mt-back-generator.git
cd mt-back-generator
bash install
Using
-
Write the configuration
-
Generate the project from configuration
mt-gen -config=./samples/config_mini_demo.yaml
Options (flags)
- config - the path to the configuration (Default: "./config.yaml")
- dir - the target dir for the generated project (Default: "./generated/")
-
Go to the folder with the generated project and run the build script
bash build
That's it, the project is ready to launch and use!
Click to show internal directories.
Click to hide internal directories.