Categorygithub.com/martelskiy/template-api-go
module
0.0.0-20250130184938-b5e3eb7e8b60
Repository: https://github.com/martelskiy/template-api-go.git
Documentation: pkg.go.dev

# README

API template project suppose to be used as a starter for a new service development.
Current template includes:

Logger

Zap package is used for logger implementation

Open API

Swag is used for an Open API in composition with HTTP Swagger which helps to integrate with native net/http GO package.

In order to generate or update docs for Open API documentation it needs to run command (from the root):

make swag-init

Endpoints available in the template:

  • /status (it will be visible in Swagger)

Swagger url (port may be altered):

http://localhost:8080/swagger/index.html

Web API Router

Mux is used as a router for a web API

# Packages

No description provided by the author
No description provided by the author
No description provided by the author