microgen

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 1 Imported by: 0

README

Overview

microgen is a CLI tool to help create micro services or just a rest api in go. It uses an opiniated structure that tries to implement clean architecture.

Dependencies

In order to properlly work with the generated code, you will need to install some dependencies. Follow the links to get installation instructions.

Installation

Run go get -u github.com/glean-go/microgen Then you can restart your terminal and start using it.

Usage

To create a new project go to the directory where you want to save it and run:

microgen new project --name "my awesome project" --module path/to/your/repository

After that a new folder will be generated on your current location. Navigate into it, and run go run main.go and that will start the server, you can check it at http://localhost:8080/v1/docs

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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