mt-back-generator

module
v0.0.0-...-932180f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2021 License: MIT

README

mt-back-generator

Preinstallation

For using this app install:

  1. Golang

  2. Docker and execute Post-installation steps

  3. Gomock using command:

    GO111MODULE=on go get github.com/golang/mock/mockgen
    
  4. Connecting to GitHub with SSH

Installation

git clone git@github.com:mtgroupit/mt-back-generator.git
cd mt-back-generator
bash install

Using

  1. Write the configuration

  2. 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/")
  3. 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!

Directories

Path Synopsis
cmd
Package extauthapi implementaton for debugging and testing.
Package extauthapi implementaton for debugging and testing.
internal
gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL