go-api

module
v0.0.0-...-abc1a05 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT

README

go-api

An API template for Golang.

Instructions

  • Update the module name in the go.mod file.

To Do

  • Hot Reloading
  • OpenAPI and Redocs

Directories

Path Synopsis
src
api
api/controller
The API's controller methods perform the API logic and build the required services using the DI container OpenAPI documentation for the endpoints is provided against each controller method.
The API's controller methods perform the API logic and build the required services using the DI container OpenAPI documentation for the endpoints is provided against each controller method.
core
Defines and initiates a Configuration struct
Defines and initiates a Configuration struct
services
Dependency Injection The Container struct builds singletons during the initiation of the container and provides methods that build services reliant upon dependencies
Dependency Injection The Container struct builds singletons during the initiation of the container and provides methods that build services reliant upon dependencies

Jump to

Keyboard shortcuts

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