go-restapi-scaffold

command module
v0.0.0-...-415512f Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 10 Imported by: 0

README

An opinionated REST API layout for Go.

  • oapi-codegen - Follows design first principles.
  • Defines OpenAPI spec in CUE
  • Echo - High performance, extensible, minimalist Go web framework.
  • Tilt - A toolkit for fixing the pains of microservice development.

Start

Flag arguments:

-module-name string
    the name of the new module
-output string
    the path to output the files
-service-name string
    the name of the new service

Example:

go run main.go -output $HOME/my-service -module-name="github.com/akselleirv/my-service" -service-name my-service

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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